Show part category on info page.

This commit is contained in:
Jan Böhmer 2019-03-14 12:22:54 +01:00
parent 3da6b03b23
commit 6f435a58c9

View file

@ -25,6 +25,10 @@
<h5 class="text-muted pt-2" title="{% trans %}manufacturer.label{% endtrans %}">{{ part.manufacturer.name ?? ""}}</h5>
<h3>{{ part.name }} <a href="{{ part|entityURL('edit') }}"><i class="fas fa-fw fa-sm fa-edit"></i></a></h3>
<h6 class="text-muted"><span title="{% trans %}description.label{% endtrans %}">{{ part.description|bbCode }}</span></h6>
<h6 class="" title="{% trans %}category.label.label{% endtrans %}">
<i class="fas fa-tag fa-fw"></i>
<span class="text-muted">{{ part.category.fullPath ?? "-"}}</span>
</h6>
<h6 class="" title="{% trans %}storelocation.label{% endtrans %}">
<i class="fas fa-cube fa-fw"></i>
<span class="text-muted">{{ part.storelocation.fullPath ?? "-"}}</span>