2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-14 15:41:10 +00:00

Add a reminder for future-self

This commit is contained in:
Oliver Walters
2019-09-17 20:19:27 +10:00
parent cb77506111
commit a77fd23fcf
2 changed files with 3 additions and 1 deletions

View File

@@ -13,7 +13,7 @@
<li{% ifequal tab 'stock' %} class="active"{% endifequal %}>
<a href="{% url 'part-stock' part.id %}">Stock <span class="badge">{{ part.total_stock }}</span></a>
</li>
{% if part.allocation_count > 0 %}
{% if part.component or part.used_in_count > 0 %}
<li{% ifequal tab 'allocation' %} class="active"{% endifequal %}>
<a href="{% url 'part-allocation' part.id %}">Allocated <span class="badge">{{ part.allocation_count }}</span></a>
</li>