From 3d2aa93e8bcffc6eb599137d5067e8e0fd249ddb Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Sun, 7 Apr 2019 09:16:02 +0200 Subject: fix realistic detailed view (#424) --- print/templates/operator_overview.html | 5 ++++- print/templates/print_detail.html | 5 ++++- print/templates/print_overview.html | 5 ++++- print/templates/ui_svg_action_buttons.html | 9 +++++++-- 4 files changed, 19 insertions(+), 5 deletions(-) (limited to 'print') diff --git a/print/templates/operator_overview.html b/print/templates/operator_overview.html index a3090c1f..71c5ea2e 100644 --- a/print/templates/operator_overview.html +++ b/print/templates/operator_overview.html @@ -27,7 +27,10 @@
{{ svg_overview|replace("
  • ", "")|replace("
  • ", "")|safe }} - {% include 'ui_svg_action_buttons.html' %} + {% with %} + {% set realistic_id='realistic-operator-overview' %} + {% include 'ui_svg_action_buttons.html' with context %} + {% endwith %}
    {% include 'footer.html' %} 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 @@
    {{color_block.svg_preview|replace("
  • ", "")|replace("
  • ", "")|safe}} - {% include 'ui_svg_action_buttons.html' %} + {% with %} + {% set loop_index=loop.index0 %} + {% include 'ui_svg_action_buttons.html' with context %} + {% endwith %}
    {% include 'color_swatch.html' %} diff --git a/print/templates/print_overview.html b/print/templates/print_overview.html index d5111562..34478438 100644 --- a/print/templates/print_overview.html +++ b/print/templates/print_overview.html @@ -27,7 +27,10 @@
    {{ svg_overview|replace("
  • ", "")|replace("
  • ", "")|safe }} - {% include 'ui_svg_action_buttons.html' %} + {% with %} + {% set realistic_id='realistic-client-overview' %} + {% include 'ui_svg_action_buttons.html' with context %} + {% endwith %}
    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 @@
    -- cgit v1.2.3