2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-29 20:16:44 +00:00

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 %} {% endif %}
{% if part.variant_of %} {% if part.variant_of %}
<div class='alert alert-info alert-block'> <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> </div>
{% endif %} {% endif %}

View File

@ -15,7 +15,7 @@
<div id='button-toolbar'> <div id='button-toolbar'>
<div class='btn-group'> <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> <button class='btn btn-success' id='new-variant' title='Create new variant'>New Variant</button>
{% endif %} {% endif %}
</div> </div>