Rendering tweaks

This commit is contained in:
Oliver Walters 2019-05-25 23:45:26 +10:00
parent 3d57483f0e
commit 08ac7e2a36
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
{% endif %}
{% if part.variant_of %}
<div class='alert alert-info alert-block'>
This part is a variant of <a href="{% url 'part-detail' part.variant_of.id %}">{{ part.variant_of.full_name }}</a>
This part is a variant of <b><a href="{% url 'part-detail' part.variant_of.id %}">{{ part.variant_of.full_name }}</a></b>
</div>
{% endif %}

View File

@ -15,7 +15,7 @@
<div id='button-toolbar'>
<div class='btn-group'>
{% if part.active %}
{% if part.has_variants and part.active %}
<button class='btn btn-success' id='new-variant' title='Create new variant'>New Variant</button>
{% endif %}
</div>