mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add icons to part base
This commit is contained in:
parent
f248b20ba4
commit
f1f27f08cb
@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2020-04-11 14:32+0000\n"
|
||||
"POT-Creation-Date: 2020-04-11 14:40+0000\n"
|
||||
"PO-Revision-Date: 2020-02-02 08:07+0100\n"
|
||||
"Last-Translator: Christian Schlüter <chschlue@gmail.com>\n"
|
||||
"Language-Team: C <kde-i18n-doc@kde.org>\n"
|
||||
@ -113,7 +113,7 @@ msgstr "Zerstört"
|
||||
|
||||
#: InvenTree/status_codes.py:163 build/templates/build/allocate_edit.html:28
|
||||
#: build/templates/build/allocate_view.html:21
|
||||
#: part/templates/part/part_base.html:109 part/templates/part/tabs.html:21
|
||||
#: part/templates/part/part_base.html:113 part/templates/part/tabs.html:21
|
||||
msgid "Allocated"
|
||||
msgstr "Zugeordnet"
|
||||
|
||||
@ -272,7 +272,7 @@ msgid "Description"
|
||||
msgstr "Beschreibung"
|
||||
|
||||
#: build/templates/build/allocate_view.html:22
|
||||
#: part/templates/part/part_base.html:115
|
||||
#: part/templates/part/part_base.html:120
|
||||
msgid "On Order"
|
||||
msgstr "bestellt"
|
||||
|
||||
@ -312,6 +312,10 @@ msgstr "Status"
|
||||
msgid "BOM Price"
|
||||
msgstr ""
|
||||
|
||||
#: build/templates/build/build_base.html:81
|
||||
msgid "BOM pricing is incomplete"
|
||||
msgstr ""
|
||||
|
||||
#: build/templates/build/build_base.html:84
|
||||
#, fuzzy
|
||||
#| msgid "Show pricing information"
|
||||
@ -1744,23 +1748,23 @@ msgstr "Teil favorisieren"
|
||||
msgid "Show pricing information"
|
||||
msgstr "Kosteninformationen ansehen"
|
||||
|
||||
#: part/templates/part/part_base.html:98
|
||||
#: part/templates/part/part_base.html:100
|
||||
msgid "Available Stock"
|
||||
msgstr "Verfügbarer Lagerbestand"
|
||||
|
||||
#: part/templates/part/part_base.html:103
|
||||
#: part/templates/part/part_base.html:106
|
||||
msgid "In Stock"
|
||||
msgstr "Auf Lager"
|
||||
|
||||
#: part/templates/part/part_base.html:124
|
||||
#: part/templates/part/part_base.html:130
|
||||
msgid "Build Status"
|
||||
msgstr "Bau-Status"
|
||||
|
||||
#: part/templates/part/part_base.html:128
|
||||
#: part/templates/part/part_base.html:135
|
||||
msgid "Can Build"
|
||||
msgstr "Herstellbar?"
|
||||
|
||||
#: part/templates/part/part_base.html:133
|
||||
#: part/templates/part/part_base.html:141
|
||||
msgid "Underway"
|
||||
msgstr "unterwegs"
|
||||
|
||||
|
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2020-04-11 14:32+0000\n"
|
||||
"POT-Creation-Date: 2020-04-11 14:40+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -112,7 +112,7 @@ msgstr ""
|
||||
|
||||
#: InvenTree/status_codes.py:163 build/templates/build/allocate_edit.html:28
|
||||
#: build/templates/build/allocate_view.html:21
|
||||
#: part/templates/part/part_base.html:109 part/templates/part/tabs.html:21
|
||||
#: part/templates/part/part_base.html:113 part/templates/part/tabs.html:21
|
||||
msgid "Allocated"
|
||||
msgstr ""
|
||||
|
||||
@ -268,7 +268,7 @@ msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#: build/templates/build/allocate_view.html:22
|
||||
#: part/templates/part/part_base.html:115
|
||||
#: part/templates/part/part_base.html:120
|
||||
msgid "On Order"
|
||||
msgstr ""
|
||||
|
||||
@ -306,6 +306,10 @@ msgstr ""
|
||||
msgid "BOM Price"
|
||||
msgstr ""
|
||||
|
||||
#: build/templates/build/build_base.html:81
|
||||
msgid "BOM pricing is incomplete"
|
||||
msgstr ""
|
||||
|
||||
#: build/templates/build/build_base.html:84
|
||||
msgid "No pricing information"
|
||||
msgstr ""
|
||||
@ -1581,23 +1585,23 @@ msgstr ""
|
||||
msgid "Show pricing information"
|
||||
msgstr ""
|
||||
|
||||
#: part/templates/part/part_base.html:98
|
||||
#: part/templates/part/part_base.html:100
|
||||
msgid "Available Stock"
|
||||
msgstr ""
|
||||
|
||||
#: part/templates/part/part_base.html:103
|
||||
#: part/templates/part/part_base.html:106
|
||||
msgid "In Stock"
|
||||
msgstr ""
|
||||
|
||||
#: part/templates/part/part_base.html:124
|
||||
#: part/templates/part/part_base.html:130
|
||||
msgid "Build Status"
|
||||
msgstr ""
|
||||
|
||||
#: part/templates/part/part_base.html:128
|
||||
#: part/templates/part/part_base.html:135
|
||||
msgid "Can Build"
|
||||
msgstr ""
|
||||
|
||||
#: part/templates/part/part_base.html:133
|
||||
#: part/templates/part/part_base.html:141
|
||||
msgid "Underway"
|
||||
msgstr ""
|
||||
|
||||
|
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2020-04-11 14:32+0000\n"
|
||||
"POT-Creation-Date: 2020-04-11 14:40+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -112,7 +112,7 @@ msgstr ""
|
||||
|
||||
#: InvenTree/status_codes.py:163 build/templates/build/allocate_edit.html:28
|
||||
#: build/templates/build/allocate_view.html:21
|
||||
#: part/templates/part/part_base.html:109 part/templates/part/tabs.html:21
|
||||
#: part/templates/part/part_base.html:113 part/templates/part/tabs.html:21
|
||||
msgid "Allocated"
|
||||
msgstr ""
|
||||
|
||||
@ -268,7 +268,7 @@ msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#: build/templates/build/allocate_view.html:22
|
||||
#: part/templates/part/part_base.html:115
|
||||
#: part/templates/part/part_base.html:120
|
||||
msgid "On Order"
|
||||
msgstr ""
|
||||
|
||||
@ -306,6 +306,10 @@ msgstr ""
|
||||
msgid "BOM Price"
|
||||
msgstr ""
|
||||
|
||||
#: build/templates/build/build_base.html:81
|
||||
msgid "BOM pricing is incomplete"
|
||||
msgstr ""
|
||||
|
||||
#: build/templates/build/build_base.html:84
|
||||
msgid "No pricing information"
|
||||
msgstr ""
|
||||
@ -1581,23 +1585,23 @@ msgstr ""
|
||||
msgid "Show pricing information"
|
||||
msgstr ""
|
||||
|
||||
#: part/templates/part/part_base.html:98
|
||||
#: part/templates/part/part_base.html:100
|
||||
msgid "Available Stock"
|
||||
msgstr ""
|
||||
|
||||
#: part/templates/part/part_base.html:103
|
||||
#: part/templates/part/part_base.html:106
|
||||
msgid "In Stock"
|
||||
msgstr ""
|
||||
|
||||
#: part/templates/part/part_base.html:124
|
||||
#: part/templates/part/part_base.html:130
|
||||
msgid "Build Status"
|
||||
msgstr ""
|
||||
|
||||
#: part/templates/part/part_base.html:128
|
||||
#: part/templates/part/part_base.html:135
|
||||
msgid "Can Build"
|
||||
msgstr ""
|
||||
|
||||
#: part/templates/part/part_base.html:133
|
||||
#: part/templates/part/part_base.html:141
|
||||
msgid "Underway"
|
||||
msgstr ""
|
||||
|
||||
|
@ -93,25 +93,30 @@
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<table class="table table-striped">
|
||||
<col width='25'>
|
||||
<tr>
|
||||
<td><span class='fas fa-boxes'></span></td>
|
||||
<td>
|
||||
<h4>{% trans "Available Stock" %}</h4>
|
||||
</td>
|
||||
<td><h4>{% decimal part.available_stock %} {{ part.units }}</h4></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class='fas fa-map-marker-alt'></span></td>
|
||||
<td>{% trans "In Stock" %}</td>
|
||||
<td>{% include "part/stock_count.html" %}</td>
|
||||
</tr>
|
||||
{% if not part.is_template %}
|
||||
{% if part.allocation_count > 0 %}
|
||||
<tr>
|
||||
<td><span class='fas fa-dolly'></span></td>
|
||||
<td>{% trans "Allocated" %}</td>
|
||||
<td>{% decimal part.allocation_count %}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if part.on_order > 0 %}
|
||||
<tr>
|
||||
<td><span class='fas fa-shopping-cart'></span></td>
|
||||
<td>{% trans "On Order" %}</td>
|
||||
<td>{% decimal part.on_order %}</td>
|
||||
</tr>
|
||||
@ -120,16 +125,19 @@
|
||||
{% if not part.is_template %}
|
||||
{% if part.assembly %}
|
||||
<tr>
|
||||
<td><span class='fas fa-tools'></span></td>
|
||||
<td colspan='2'>
|
||||
<b>{% trans "Build Status" %}</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>{% trans "Can Build" %}</td>
|
||||
<td>{% decimal part.can_build %}</td>
|
||||
</tr>
|
||||
{% if part.quantity_being_built > 0 %}
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>{% trans "Underway" %}</td>
|
||||
<td>{% decimal part.quantity_being_built %}</td>
|
||||
</tr>
|
||||
|
Loading…
Reference in New Issue
Block a user