mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +00:00
Rendering tweaks
This commit is contained in:
parent
3d57483f0e
commit
08ac7e2a36
@ -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 %}
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user