diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2019-04-07 09:16:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-07 09:16:02 +0200 |
| commit | 3d2aa93e8bcffc6eb599137d5067e8e0fd249ddb (patch) | |
| tree | aa27859858ebb029b99539713ecfee26c0a83150 /print/templates/print_detail.html | |
| parent | 211561eabc1444135e0a000d8ec4ba822c2ebbd5 (diff) | |
fix realistic detailed view (#424)
Diffstat (limited to 'print/templates/print_detail.html')
| -rw-r--r-- | print/templates/print_detail.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/print/templates/print_detail.html b/print/templates/print_detail.html index 0dca4978..f076fc04 100644 --- a/print/templates/print_detail.html +++ b/print/templates/print_detail.html @@ -17,7 +17,10 @@ <main> <figure class="inksimulation" data-field-name="client-detail-transform-block{{ loop.index0 }}" title="{{ _('Ctrl + Scroll to Zoom') }}"> {{color_block.svg_preview|replace("<li>", "")|replace("</li>", "")|safe}} - {% include 'ui_svg_action_buttons.html' %} + {% with %} + {% set loop_index=loop.index0 %} + {% include 'ui_svg_action_buttons.html' with context %} + {% endwith %} </figure> <div class="color-palette detailed"> {% include 'color_swatch.html' %} |
