diff options
| author | Lex Neva <github.com@lexneva.name> | 2018-07-23 20:22:53 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2018-07-25 21:18:13 -0400 |
| commit | 1bd7aa110a1b30a6c44f4d792b3c817e10234c07 (patch) | |
| tree | 4e652bde1122f44f360e140b696cb0eb81a7e9e1 /print/templates | |
| parent | e0cecd6fa444e3b7ea2391ce4f2953ae9fd5f3fa (diff) | |
change '# stops' in block to be 'stop after?'
Diffstat (limited to 'print/templates')
| -rw-r--r-- | print/templates/color_swatch.html | 4 | ||||
| -rw-r--r-- | print/templates/operator_detailedview.html | 12 | ||||
| -rw-r--r-- | print/templates/operator_overview.html | 4 | ||||
| -rw-r--r-- | print/templates/print_overview.html | 4 |
4 files changed, 10 insertions, 14 deletions
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 %} - <tspan dy="1.2em" x="2mm" class="swatch-stops">{{ _('# stops') }}: {{ color_block.num_stops }}</tspan> <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> {% endif %} </text> </svg> @@ -41,8 +41,8 @@ <p><span class="color-rgb">{{ _('rgb') }}:</span><span>{{ color_block.color.rgb }}</span></p> <p><span class="swatch-thread">{{ _('thread') }}:</span><span data-field-name="thread-{{ color_block.color.hex_digits }}" contenteditable="true">{{ color_block.color.manufacturer }} {{ "#" + color_block.color.number if color_block.color.number }}</span></p> <p><span class="swatch-stitches">{{ _('# stitches') }}:</span><span>{{ color_block.num_stitches }}</span></p> - <p><span class="swatch-stops">{{ _('# stops') }}:</span><span>{{ color_block.num_stops }}</span></p> <p><span class="swatch-trims">{{ _('# trims') }}:</span><span>{{ color_block.num_trims }}</span></p> + <p><span class="swatch-stops">{{ _('stop after?') }}:</span><span>{{ _("yes") if color_block.stop_after else _("no") }}</span></p> </div> </div> </div> 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 @@ <span>{{ _('Total stitch count') }}: {{job.num_stitches }}</span> </p> <p> - <span>{{ _('Total nr stops') }}: {{ job.num_stops }}</span> - <span>{{ _('Total nr trims') }}: {{ job.num_trims }}</span> + <span>{{ _('Total stops') }}: {{ job.num_stops }}</span> + <span>{{ _('Total trims') }}: {{ job.num_trims }}</span> </p> <p> <span></span> </p> </div> - {% for color_block in color_blocks %} - <div class="opd-color-block"> <p class="operator-svg operator-colorswatch"> <svg xmlns="http://www.w3.org/2000/svg"> @@ -64,13 +62,11 @@ <span>{{ _('# stitches') }}: {{ color_block.num_stitches }}</span> </p> <p> - <span>{{ _('# stops') }}: {{ color_block.num_stops }}</span> - <span>{{ _('# trims') }}: {{ color_block.num_trims }}</span> + <span>{{ _('trims') }}: {{ color_block.num_trims }}</span> + <span>{{ _('stop after?') }}: {{ _("yes") if color_block.stop_after else _("no") }}</span> </p> <p> <span class="notes" contenteditable="true" data-field-name="operator-notes-block{{ loop.index }}" data-placeholder="{{ _("Enter operator notes...") }}"></span> </p> </div> {% 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 @@ <div class="table"> <p><span>{{ _('Unique Colors') }}:</span><span>{{ job.num_colors }}</span></p> <p><span>{{ _('Color Blocks') }}:</span><span>{{ job.num_color_blocks }}</span></p> - <p><span>{{ _('Total nr stops') }}:</span><span>{{ job.num_stops }}</span></p> - <p><span>{{ _('Total nr trims') }}:</span><span>{{ job.num_trims }}</span></p> + <p><span>{{ _('Total stops') }}:</span><span>{{ job.num_stops }}</span></p> + <p><span>{{ _('Total trims') }}:</span><span>{{ job.num_trims }}</span></p> </div> </div> <div> 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 @@ <div class="table"> <p><span>{{ _('Unique Colors') }}:</span><span>{{ job.num_colors }}</span></p> <p><span>{{ _('Color Blocks') }}:</span><span>{{ job.num_color_blocks }}</span></p> - <p><span>{{ _('Total nr stops') }}:</span><span>{{ job.num_stops }}</span></p> - <p><span>{{ _('Total nr trims') }}:</span><span>{{ job.num_trims }}</span></p> + <p><span>{{ _('Total stops') }}:</span><span>{{ job.num_stops }}</span></p> + <p><span>{{ _('Total trims') }}:</span><span>{{ job.num_trims }}</span></p> </div> </div> <div> |
