summaryrefslogtreecommitdiff
path: root/print/templates/ui_svg_action_buttons.html
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2019-04-30 19:57:31 -0400
committerLex Neva <github.com@lexneva.name>2019-04-30 19:57:31 -0400
commit43a385ea0aaa591b62fdfda629d4299e4cadc15c (patch)
tree448a4c323fa6af4658de50eb34f4b7ddb3281062 /print/templates/ui_svg_action_buttons.html
parentb307b8e8247678a4bf128ded80a9bfd7b9b54c81 (diff)
parent5b6923fe9d8d5f3afb0ef298ad34708e735fc5e5 (diff)
Merge branch 'master' into lexelby/lettering-features
Diffstat (limited to 'print/templates/ui_svg_action_buttons.html')
-rw-r--r--print/templates/ui_svg_action_buttons.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/print/templates/ui_svg_action_buttons.html b/print/templates/ui_svg_action_buttons.html
index c111d634..6b199383 100644
--- a/print/templates/ui_svg_action_buttons.html
+++ b/print/templates/ui_svg_action_buttons.html
@@ -4,7 +4,12 @@
<button class="svg-full">100%</button>
<button class="svg-apply">{{ _('Apply to all') }}</button>
<button class="svg-realistic">
- <input type="checkbox" id="realistic-operator-overview" data-field-name="overview" class="realistic" />
- <label for="realistic-operator-overview" class="realistic">{{ _('Realistic') }}</label>
+ {% if loop_index is defined %}
+ <input type="checkbox" id="realistic-color-block-{{ loop_index }}" data-field-name="block{{ loop_index }}" class="realistic" />
+ <label for="realistic-color-block-{{ loop_index }}" class="realistic">{{ _('Realistic') }}</label>
+ {% else %}
+ <input type="checkbox" id="{{ realistic_id }}" data-field-name="overview" class="realistic" />
+ <label for="{{ realistic_id }}" class="realistic">{{ _('Realistic') }}</label>
+ {% endif %}
</button>
</div>