From 1bd7aa110a1b30a6c44f4d792b3c817e10234c07 Mon Sep 17 00:00:00 2001
From: Lex Neva
Date: Mon, 23 Jul 2018 20:22:53 -0400
Subject: change '# stops' in block to be 'stop after?'
---
print/templates/color_swatch.html | 4 ++--
print/templates/operator_detailedview.html | 12 ++++--------
print/templates/operator_overview.html | 4 ++--
print/templates/print_overview.html | 4 ++--
4 files changed, 10 insertions(+), 14 deletions(-)
(limited to 'print')
diff --git a/print/templates/color_swatch.html b/print/templates/color_swatch.html
index 6785b080..71022f6f 100644
--- a/print/templates/color_swatch.html
+++ b/print/templates/color_swatch.html
@@ -20,8 +20,8 @@
{% endif %}
{# We don't want to see stops and trims if we have more than 13 colorSwatches to show #}
{% if color_blocks|length < 13 %}
- {{ _('# stops') }}: {{ color_block.num_stops }}
{{ _('# trims') }}: {{ color_block.num_trims }}
+ {{ _('stop after?') }}: {{ _("yes") if color_block.stop_after else _("no") }}
{% endif %}
@@ -41,8 +41,8 @@
{{ _('rgb') }}:{{ color_block.color.rgb }}
{{ _('thread') }}:{{ color_block.color.manufacturer }} {{ "#" + color_block.color.number if color_block.color.number }}
{{ _('# stitches') }}:{{ color_block.num_stitches }}
- {{ _('# stops') }}:{{ color_block.num_stops }}
{{ _('# trims') }}:{{ color_block.num_trims }}
+ {{ _('stop after?') }}:{{ _("yes") if color_block.stop_after else _("no") }}
diff --git a/print/templates/operator_detailedview.html b/print/templates/operator_detailedview.html
index e1899db4..e3c0d441 100644
--- a/print/templates/operator_detailedview.html
+++ b/print/templates/operator_detailedview.html
@@ -30,18 +30,16 @@
{{ _('Total stitch count') }}: {{job.num_stitches }}
- {{ _('Total nr stops') }}: {{ job.num_stops }}
- {{ _('Total nr trims') }}: {{ job.num_trims }}
+ {{ _('Total stops') }}: {{ job.num_stops }}
+ {{ _('Total trims') }}: {{ job.num_trims }}
-
{% for color_block in color_blocks %}
-
- {{ _('# stops') }}: {{ color_block.num_stops }}
- {{ _('# trims') }}: {{ color_block.num_trims }}
+ {{ _('trims') }}: {{ color_block.num_trims }}
+ {{ _('stop after?') }}: {{ _("yes") if color_block.stop_after else _("no") }}
{% endfor %}
-
-
diff --git a/print/templates/operator_overview.html b/print/templates/operator_overview.html
index 0c379316..048fd58e 100644
--- a/print/templates/operator_overview.html
+++ b/print/templates/operator_overview.html
@@ -5,8 +5,8 @@
{{ _('Unique Colors') }}:{{ job.num_colors }}
{{ _('Color Blocks') }}:{{ job.num_color_blocks }}
-
{{ _('Total nr stops') }}:{{ job.num_stops }}
-
{{ _('Total nr trims') }}:{{ job.num_trims }}
+
{{ _('Total stops') }}:{{ job.num_stops }}
+
{{ _('Total trims') }}:{{ job.num_trims }}
diff --git a/print/templates/print_overview.html b/print/templates/print_overview.html
index ca8638ff..cfbb81d1 100644
--- a/print/templates/print_overview.html
+++ b/print/templates/print_overview.html
@@ -5,8 +5,8 @@
{{ _('Unique Colors') }}:{{ job.num_colors }}
{{ _('Color Blocks') }}:{{ job.num_color_blocks }}
-
{{ _('Total nr stops') }}:{{ job.num_stops }}
-
{{ _('Total nr trims') }}:{{ job.num_trims }}
+
{{ _('Total stops') }}:{{ job.num_stops }}
+
{{ _('Total trims') }}:{{ job.num_trims }}
--
cgit v1.2.3