summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2025-03-01 09:50:36 +0100
committerGitHub <noreply@github.com>2025-03-01 09:50:36 +0100
commit8e49b4431e48b776eef5df465f5bb00f46e9b707 (patch)
tree94e0ce428264d4b75b46cfd447f5d76b846ae8aa /print
parentf8cedafcbe49590154cbef6832f347588b6a72df (diff)
display stop commands in simulator and print preview (#3545)
Diffstat (limited to 'print')
-rw-r--r--print/templates/color_swatch.html2
-rw-r--r--print/templates/operator_detailedview.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/print/templates/color_swatch.html b/print/templates/color_swatch.html
index fe64c855..9ff31642 100644
--- a/print/templates/color_swatch.html
+++ b/print/templates/color_swatch.html
@@ -21,7 +21,7 @@
{# We don't want to see stops and trims if we have more than 13 colorSwatches to show #}
{% if color_blocks|length < 13 %}
<tspan dy="1.2em" x="2mm" class="swatch-trims">{{ _('# trims') }}: {{ color_block.num_trims }}</tspan>
- <tspan dy="1.2em" x="2mm" class="swatch-stops">{{ _('stop after?') }}: {{ _("yes") if color_block.stop_after else _("no") }}</tspan>
+ <tspan dy="1.2em" x="2mm" class="swatch-stops">{{ _('# stops') }}: {{ color_block.num_stops }}</tspan>
{% endif %}
</text>
</svg>
diff --git a/print/templates/operator_detailedview.html b/print/templates/operator_detailedview.html
index b16691a0..aaa5cd2b 100644
--- a/print/templates/operator_detailedview.html
+++ b/print/templates/operator_detailedview.html
@@ -65,7 +65,7 @@
</p>
<p>
<span class="num-trims">{{ _('trims') }}: {{ color_block.num_trims }}</span>
- <span>{{ _('stop after?') }}: {{ _("yes") if color_block.stop_after else _("no") }}</span>
+ <span class="num-stops">{{ _('stops') }}: {{ color_block.num_stops }}</span>
<input type="hidden" class="num-stops" value="{{ '1' if color_block.stop_after else '0' }}" />
</p>
<p>