Moar UI and translation string fixes

This commit is contained in:
Oliver Walters 2020-04-28 09:41:47 +10:00
parent bbecc8c900
commit 6bdf371490
5 changed files with 45 additions and 25 deletions

View File

@ -1,8 +1,9 @@
{% extends "base.html" %}
{% load static %}
{% load i18n %}
{% block page_title %}
InvenTree | Build List
InvenTree | {% trans "Build Orders" %}
{% endblock %}
{% block content %}
@ -10,7 +11,7 @@ InvenTree | Build List
<div class='row'>
<div class='col-sm-6'>
<h3>Part Builds</h3>
<h3>{% trans "Build Orders" %}</h3>
</div>
<div class='col-sm-6'>
@ -20,7 +21,7 @@ InvenTree | Build List
<div id='button-toolbar'>
<div class='button-toolbar container-fluid' style='float: right;'>
<button type='button' class="btn btn-success" id='new-build'>Start New Build</button>
<button type='button' class="btn btn-success" id='new-build'>{% trans "New Build Order" %}</button>
<div class='filter-list' id='filter-list-build'>
<!-- An empty div in which the filter list will be constructed -->
</div>

View File

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-27 23:32+0000\n"
"POT-Creation-Date: 2020-04-27 23:38+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"
@ -639,6 +639,20 @@ msgstr "Nein"
msgid "Completed"
msgstr "Fertig"
#: build/templates/build/index.html:6 build/templates/build/index.html:14
#: order/templates/order/so_builds.html:11 order/templates/order/so_tabs.html:9
#: part/templates/part/tabs.html:28
#, fuzzy
#| msgid "Build Notes"
msgid "Build Orders"
msgstr "Bau-Bemerkungen"
#: build/templates/build/index.html:24
#, fuzzy
#| msgid "Build Notes"
msgid "New Build Order"
msgstr "Bau-Bemerkungen"
#: build/templates/build/notes.html:13 build/templates/build/notes.html:30
msgid "Build Notes"
msgstr "Bau-Bemerkungen"
@ -1778,13 +1792,6 @@ msgstr ""
msgid "Sales Order Attachments"
msgstr "Bestelldetails"
#: order/templates/order/so_builds.html:11 order/templates/order/so_tabs.html:9
#: part/templates/part/tabs.html:28
#, fuzzy
#| msgid "Build Notes"
msgid "Build Orders"
msgstr "Bau-Bemerkungen"
#: order/templates/order/so_lineitem_delete.html:5
#, fuzzy
#| msgid "Are you sure you want to delete the following Supplier Parts?"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-27 23:32+0000\n"
"POT-Creation-Date: 2020-04-27 23:38+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"
@ -570,6 +570,16 @@ msgstr ""
msgid "Completed"
msgstr ""
#: build/templates/build/index.html:6 build/templates/build/index.html:14
#: order/templates/order/so_builds.html:11 order/templates/order/so_tabs.html:9
#: part/templates/part/tabs.html:28
msgid "Build Orders"
msgstr ""
#: build/templates/build/index.html:24
msgid "New Build Order"
msgstr ""
#: build/templates/build/notes.html:13 build/templates/build/notes.html:30
msgid "Build Notes"
msgstr ""
@ -1516,11 +1526,6 @@ msgstr ""
msgid "Sales Order Attachments"
msgstr ""
#: order/templates/order/so_builds.html:11 order/templates/order/so_tabs.html:9
#: part/templates/part/tabs.html:28
msgid "Build Orders"
msgstr ""
#: order/templates/order/so_lineitem_delete.html:5
msgid "Are you sure you wish to delete this line item?"
msgstr ""

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-27 23:32+0000\n"
"POT-Creation-Date: 2020-04-27 23:38+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"
@ -570,6 +570,16 @@ msgstr ""
msgid "Completed"
msgstr ""
#: build/templates/build/index.html:6 build/templates/build/index.html:14
#: order/templates/order/so_builds.html:11 order/templates/order/so_tabs.html:9
#: part/templates/part/tabs.html:28
msgid "Build Orders"
msgstr ""
#: build/templates/build/index.html:24
msgid "New Build Order"
msgstr ""
#: build/templates/build/notes.html:13 build/templates/build/notes.html:30
msgid "Build Notes"
msgstr ""
@ -1516,11 +1526,6 @@ msgstr ""
msgid "Sales Order Attachments"
msgstr ""
#: order/templates/order/so_builds.html:11 order/templates/order/so_tabs.html:9
#: part/templates/part/tabs.html:28
msgid "Build Orders"
msgstr ""
#: order/templates/order/so_lineitem_delete.html:5
msgid "Are you sure you wish to delete this line item?"
msgstr ""

View File

@ -1,10 +1,12 @@
{% extends "part/part_base.html" %}
{% block details %}
{% load status_codes %}
{% load i18n %}
{% block details %}
{% include "part/tabs.html" with tab="allocation" %}
<h4>Part Allocation</h4>
<h4>{% trans "Part Stock Allocations" %}</h4>
<table class='table table-striped table-condensed' id='build-table'>
<tr>