mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Template fixes for part sidebar display
This commit is contained in:
parent
c447fb2c1c
commit
219fd1da41
@ -17,7 +17,9 @@
|
||||
{% if part.assembly %}
|
||||
{% trans "Bill of Materials" as text %}
|
||||
{% include "sidebar_item.html" with label="bom" text=text icon="fa-list" %}
|
||||
{% endif %}
|
||||
{% if roles.build.view %}
|
||||
{% if part.assembly or part.component %}
|
||||
{% trans "Build Orders" as text %}
|
||||
{% include "sidebar_item.html" with label="build-orders" text=text icon="fa-tools" %}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user