mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add some more icons
This commit is contained in:
parent
f1a7ac3187
commit
1d6d1121a7
@ -15,7 +15,7 @@
|
|||||||
<table class='table table-striped'>
|
<table class='table table-striped'>
|
||||||
<col width='25'>
|
<col width='25'>
|
||||||
<tr>
|
<tr>
|
||||||
<td></td>
|
<td><span class='fas fa-font'></span></td>
|
||||||
<td><b>{% trans "Part name" %}</b></td>
|
<td><b>{% trans "Part name" %}</b></td>
|
||||||
<td>{{ part.name }}</td>
|
<td>{{ part.name }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -28,7 +28,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if part.revision %}
|
{% if part.revision %}
|
||||||
<tr>
|
<tr>
|
||||||
<td></td>
|
<td><span class='fas fa-code-branch'></span></td>
|
||||||
<td><b>{% trans "Revision" %}</b></td>
|
<td><b>{% trans "Revision" %}</b></td>
|
||||||
<td>{{ part.revision }}</td>
|
<td>{{ part.revision }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -132,7 +132,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class='col-sm-6'>
|
<div class='col-sm-6'>
|
||||||
<table class='table table-striped'>
|
<table class='table table-striped'>
|
||||||
|
<col width='25'>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td><span class='fas fa-ghost'%></span></td>
|
||||||
<td><b>{% trans "Virtual" %}</b></td>
|
<td><b>{% trans "Virtual" %}</b></td>
|
||||||
<td>{% include "slide.html" with state=part.virtual field='virtual' %}</td>
|
<td>{% include "slide.html" with state=part.virtual field='virtual' %}</td>
|
||||||
{% if part.virtual %}
|
{% if part.virtual %}
|
||||||
@ -142,6 +144,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td><span class='fas fa-clone'></span></td>
|
||||||
<td><b>{% trans "Template" %}</b></td>
|
<td><b>{% trans "Template" %}</b></td>
|
||||||
<td>{% include "slide.html" with state=part.is_template field='is_template' %}</td>
|
<td>{% include "slide.html" with state=part.is_template field='is_template' %}</td>
|
||||||
{% if part.is_template %}
|
{% if part.is_template %}
|
||||||
@ -151,6 +154,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td><span class='fas fa-tools'></span></td>
|
||||||
<td><b>{% trans "Assembly" %}</b></td>
|
<td><b>{% trans "Assembly" %}</b></td>
|
||||||
<td>{% include "slide.html" with state=part.assembly field='assembly' %}</td>
|
<td>{% include "slide.html" with state=part.assembly field='assembly' %}</td>
|
||||||
{% if part.assembly %}
|
{% if part.assembly %}
|
||||||
@ -160,6 +164,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td><span class='fas fa-th'></span></td>
|
||||||
<td><b>{% trans "Component" %}</b></td>
|
<td><b>{% trans "Component" %}</b></td>
|
||||||
<td>{% include "slide.html" with state=part.component field='component' %}</td>
|
<td>{% include "slide.html" with state=part.component field='component' %}</td>
|
||||||
{% if part.component %}
|
{% if part.component %}
|
||||||
@ -169,6 +174,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td><span class='fas fa-directions'></span></td>
|
||||||
<td><b>{% trans "Trackable" %}</b></td>
|
<td><b>{% trans "Trackable" %}</b></td>
|
||||||
<td>{% include "slide.html" with state=part.trackable field='trackable' %}</td>
|
<td>{% include "slide.html" with state=part.trackable field='trackable' %}</td>
|
||||||
{% if part.trackable %}
|
{% if part.trackable %}
|
||||||
@ -178,6 +184,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td><span class='fas fa-shopping-cart'></span></td>
|
||||||
<td><b>{% trans "Purchaseable" %}</b></td>
|
<td><b>{% trans "Purchaseable" %}</b></td>
|
||||||
<td>{% include "slide.html" with state=part.purchaseable field='purchaseable' %}</td>
|
<td>{% include "slide.html" with state=part.purchaseable field='purchaseable' %}</td>
|
||||||
{% if part.purchaseable %}
|
{% if part.purchaseable %}
|
||||||
@ -187,6 +194,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td><span class='fas fa-dollar-sign'></span></td>
|
||||||
<td><b>{% trans "Salable" %}</b></td>
|
<td><b>{% trans "Salable" %}</b></td>
|
||||||
<td>{% include "slide.html" with state=part.salable field='salable' %}</td>
|
<td>{% include "slide.html" with state=part.salable field='salable' %}</td>
|
||||||
{% if part.salable %}
|
{% if part.salable %}
|
||||||
@ -196,6 +204,13 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td>
|
||||||
|
{% if part.active %}
|
||||||
|
<span class='fas fa-check-square'></span>
|
||||||
|
{% else %}
|
||||||
|
<span class='fas fa-times-square'></span>
|
||||||
|
{% endif %}
|
||||||
|
</td>
|
||||||
<td><b>{% trans "Active" %}</b></td>
|
<td><b>{% trans "Active" %}</b></td>
|
||||||
<td>{% include "slide.html" with state=part.active field='active' disabled=False %}</td>
|
<td>{% include "slide.html" with state=part.active field='active' disabled=False %}</td>
|
||||||
{% if part.active %}
|
{% if part.active %}
|
||||||
|
@ -234,7 +234,7 @@ InvenTree | {% trans "Stock Item" %} - {{ item }}
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item.batch %}
|
{% if item.batch %}
|
||||||
<tr>
|
<tr>
|
||||||
<td></td>
|
<td><span class='fas fa-layer-group'></span></td>
|
||||||
<td>{% trans "Batch" %}</td>
|
<td>{% trans "Batch" %}</td>
|
||||||
<td>{{ item.batch }}</td>
|
<td>{{ item.batch }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -248,7 +248,7 @@ InvenTree | {% trans "Stock Item" %} - {{ item }}
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item.purchase_order %}
|
{% if item.purchase_order %}
|
||||||
<tr>
|
<tr>
|
||||||
<td></td>
|
<td><span class='fas fa-shopping-cart'></span></td>
|
||||||
<td>{% trans "Purchase Order" %}</td>
|
<td>{% trans "Purchase Order" %}</td>
|
||||||
<td><a href="{% url 'po-detail' item.purchase_order.id %}">{{ item.purchase_order }}</a></td>
|
<td><a href="{% url 'po-detail' item.purchase_order.id %}">{{ item.purchase_order }}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user