From b5968dc11ff479f2c7cd5217c47a872fe04295e4 Mon Sep 17 00:00:00 2001
From: Lex Neva
Date: Tue, 17 Apr 2018 15:55:52 -0400
Subject: fix formatting of dimensions
---
print/templates/operator_detailedview.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'print/templates/operator_detailedview.html')
diff --git a/print/templates/operator_detailedview.html b/print/templates/operator_detailedview.html
index 633b9286..92c3445f 100644
--- a/print/templates/operator_detailedview.html
+++ b/print/templates/operator_detailedview.html
@@ -25,7 +25,7 @@
{{ _('Color Blocks') }}: {{ job.num_color_blocks }}
- {{ _('Design box size') }}: {{ job.dimensions }}
+ {{ _('Design box size') }}: {{ "%0.1fmm X %0.1fmm" | format(*job.dimensions) }}
{{ _('Total thread used') }}: {{job.estimated_thread }}
{{ _('Total stitch count') }}: {{job.num_stitches }}
--
cgit v1.3.1
From aea5919c63796efd748d724752a86773b79b7c3b Mon Sep 17 00:00:00 2001
From: Lex Neva
Date: Wed, 18 Apr 2018 16:29:06 -0400
Subject: add notes in operator detailed view
switch to 12 color blocks per page to give more room for detailed notes
---
messages.po | 7 +++++--
print/templates/index.html | 2 +-
print/templates/operator_detailedview.html | 8 ++++----
3 files changed, 10 insertions(+), 7 deletions(-)
(limited to 'print/templates/operator_detailedview.html')
diff --git a/messages.po b/messages.po
index 92b6aa61..ce85878d 100644
--- a/messages.po
+++ b/messages.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2018-04-16 21:03-0400\n"
+"POT-Creation-Date: 2018-04-18 16:29-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -336,7 +336,7 @@ msgstr ""
msgid "Stops and Trims"
msgstr ""
-msgid "Estimated Time"
+msgid "Notes"
msgstr ""
msgid "Unique Colors"
@@ -360,6 +360,9 @@ msgstr ""
msgid "Total nr trims"
msgstr ""
+msgid "Enter operator notes..."
+msgstr ""
+
msgid "Job estimated time"
msgstr ""
diff --git a/print/templates/index.html b/print/templates/index.html
index 21ca74ab..0c9cedfd 100644
--- a/print/templates/index.html
+++ b/print/templates/index.html
@@ -23,7 +23,7 @@
{% include 'operator_overview.html' %}
{# operator detailed view #}
- {% for color_block_part in color_blocks | batch(13) %}
+ {% for color_block_part in color_blocks | batch(12) %}
{% set outer_loop = loop %}
{% include 'operator_detailedview.html' %}
{% endfor %}
diff --git a/print/templates/operator_detailedview.html b/print/templates/operator_detailedview.html
index 92c3445f..f78028d7 100644
--- a/print/templates/operator_detailedview.html
+++ b/print/templates/operator_detailedview.html
@@ -10,7 +10,7 @@
{{ _('Color') }}
{{ _('Thread Consumption') }}
{{ _('Stops and Trims') }}
- {{ _('Estimated Time') }}
+ {{ _('Notes') }}
{% if outer_loop.index == 1 %}
@@ -34,7 +34,7 @@
{{ _('Total nr trims') }}: {{ job.num_trims }}
- {{ job.estimated_time }}
+
{% endif %}
@@ -45,7 +45,7 @@
@@ -65,7 +65,7 @@
{{ _('# trims') }}: {{ color_block.num_trims }}
- {{ color_block.estimatedtime }}
+
{% endfor %}
--
cgit v1.3.1