mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-14 15:41:10 +00:00
Rename some fields
- Oops didn't think that through, gotta go through and fix the data now...
This commit is contained in:
@@ -100,13 +100,13 @@
|
||||
</div>
|
||||
<div class='col-sm-6'>
|
||||
<table class='table table-striped'>
|
||||
{% if part.buildable %}
|
||||
{% if part.assembly %}
|
||||
<tr>
|
||||
<td><b>Assembly</b></td>
|
||||
<td><i>This part can be assembled from other parts</i></td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if part.consumable %}
|
||||
{% if part.component %}
|
||||
<tr>
|
||||
<td><b>Component</b></td>
|
||||
<td><i>This part can be used in assemblies</i></td>
|
||||
|
@@ -78,7 +78,7 @@
|
||||
<td>In Stock</td>
|
||||
<td>{{ part.total_stock }}</td>
|
||||
</tr>
|
||||
{% if part.buildable %}
|
||||
{% if part.assembly %}
|
||||
<tr>
|
||||
<td>Can Build</td>
|
||||
<td>{{ part.can_build }}</td>
|
||||
|
@@ -15,13 +15,13 @@
|
||||
<a href="{% url 'part-allocation' part.id %}">Allocated <span class="badge">{{ part.allocation_count }}</span></a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if part.buildable %}
|
||||
{% if part.assembly %}
|
||||
<li{% ifequal tab 'bom' %} class="active"{% endifequal %}>
|
||||
<a href="{% url 'part-bom' part.id %}">BOM<span class="badge{% if part.is_bom_valid == False %} badge-alert{% endif %}">{{ part.bom_count }}</span></a></li>
|
||||
<li{% ifequal tab 'build' %} class="active"{% endifequal %}>
|
||||
<a href="{% url 'part-build' part.id %}">Build<span class='badge'>{{ part.active_builds|length }}</span></a></li>
|
||||
{% endif %}
|
||||
{% if part.consumable or part.used_in_count > 0 %}
|
||||
{% if part.component or part.used_in_count > 0 %}
|
||||
<li{% ifequal tab 'used' %} class="active"{% endifequal %}>
|
||||
<a href="{% url 'part-used-in' part.id %}">Used In{% if part.used_in_count > 0 %}<span class="badge">{{ part.used_in_count }}</span>{% endif %}</a></li>
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user