mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add part category link to stock item detail page
This commit is contained in:
parent
2d9f7364fd
commit
1c8b134ede
@ -232,6 +232,15 @@
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% if item.part.category %}
|
||||
<tr>
|
||||
<td><span class='fas fa-sitemap'></span></td>
|
||||
<td>{% trans "Part Category" %}</td>
|
||||
<td>
|
||||
<a href='{% url "category-detail" item.part.category.id %}'>{{ item.part.category }}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if item.serialized %}
|
||||
<tr>
|
||||
<td><span class='fas fa-hashtag'></span></td>
|
||||
|
Loading…
Reference in New Issue
Block a user