Add part category link to stock item detail page

This commit is contained in:
Oliver 2021-11-17 22:29:59 +11:00
parent 2d9f7364fd
commit 1c8b134ede

View File

@ -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>