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 --- print/templates/index.html | 2 +- print/templates/operator_detailedview.html | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'print/templates') 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 @@ - #{{ loop.index + outer_loop.index0 * 13 }} + #{{ loop.index + outer_loop.index0 * 12 }}

@@ -65,7 +65,7 @@ {{ _('# trims') }}: {{ color_block.num_trims }}

- {{ color_block.estimatedtime }} +

{% endfor %} -- cgit v1.2.3