diff options
| author | Lex Neva <github.com@lexneva.name> | 2019-04-10 00:07:55 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2019-04-10 00:07:55 -0400 |
| commit | 2c39fbc8cf0ec626c945cbc4bd631c3372431821 (patch) | |
| tree | d7344e7bb1344848d2c60735dc97078a5d95bb71 /print/templates/ui_svg_action_buttons.html | |
| parent | 9d4441b7009564a57425ab0ab73a70be5b8dabf4 (diff) | |
| parent | d87750b8b01ec8aba52ed653ab151930d5d84a9f (diff) | |
Merge branch 'master' into lexelby/revamp-fill
Diffstat (limited to 'print/templates/ui_svg_action_buttons.html')
| -rw-r--r-- | print/templates/ui_svg_action_buttons.html | 9 |
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> |
