mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add variant-of to part detail view
This commit is contained in:
parent
2138977b07
commit
e5bb6284db
@ -52,6 +52,12 @@
|
|||||||
<td><b>Description</b></td>
|
<td><b>Description</b></td>
|
||||||
<td>{{ part.description }}</td>
|
<td>{{ part.description }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
{% if part.variant_of %}
|
||||||
|
<tr>
|
||||||
|
<td><b>Variant Of</b></td>
|
||||||
|
<td><a href="{% url 'part-detail' part.variant_of.id %}">{{ part.variant_of.full_name }}</a></td>
|
||||||
|
</tr>
|
||||||
|
{% endif %}
|
||||||
{% if part.keywords %}
|
{% if part.keywords %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><b>Keywords</b></td>
|
<td><b>Keywords</b></td>
|
||||||
|
Loading…
Reference in New Issue
Block a user