summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
Diffstat (limited to 'print')
-rw-r--r--print/templates/index.html2
-rw-r--r--print/templates/operator_detailedview.html8
2 files changed, 5 insertions, 5 deletions
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 @@
<div class="page operator-overview" style="display: {{ 'block' if view.operator_overview else 'none' }}">{% include 'operator_overview.html' %}</div>
{# 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 %}
<div class="page operator-detailedview" style="display: {{ 'block' if view.operator_detailedview else 'none' }}">{% include 'operator_detailedview.html' %}</div>
{% 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 @@
<p>{{ _('Color') }}</p>
<p>{{ _('Thread Consumption') }}</p>
<p>{{ _('Stops and Trims') }}</p>
- <p>{{ _('Estimated Time') }}</p>
+ <p>{{ _('Notes') }}</p>
</div>
{% if outer_loop.index == 1 %}
<div>
@@ -34,7 +34,7 @@
<span>{{ _('Total nr trims') }}: {{ job.num_trims }}</span>
</p>
<p>
- <span>{{ job.estimated_time }}</span>
+ <span></span>
</p>
</div>
{% endif %}
@@ -45,7 +45,7 @@
<svg xmlns="http://www.w3.org/2000/svg">
<rect fill="rgb{{ color_block.color.rgb }}" width="15mm" height="100%" />
<text fill="rgb{{ color_block.color.font_color }}">
- <tspan x="4mm" y="7.5mm" class="color-index">#{{ loop.index + outer_loop.index0 * 13 }}</tspan>
+ <tspan x="4mm" y="7.5mm" class="color-index">#{{ loop.index + outer_loop.index0 * 12 }}</tspan>
</text>
</svg>
</p>
@@ -65,7 +65,7 @@
<span>{{ _('# trims') }}: {{ color_block.num_trims }}</span>
</p>
<p>
- <span>{{ color_block.estimatedtime }}</span>
+ <span class="notes" contenteditable="true" data-field-name="operator-notes-block{{ loop.index0 + outer_loop.index0 * 12 }}" data-placeholder="{{ _("Enter operator notes...") }}"></span>
</p>
</div>
{% endfor %}