diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2019-03-26 18:24:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-26 18:24:02 +0100 |
| commit | f435520663d59378546426ea7263e78d51362c44 (patch) | |
| tree | e199df485cbc558336e0c7cfabf512c0da1be50d /print/templates/index.html | |
| parent | 0b9f95ed88f6d4eb47c774c69e4fa9a03546b4b5 (diff) | |
Add Custom Page to Print PDF (#418)
Diffstat (limited to 'print/templates/index.html')
| -rw-r--r-- | print/templates/index.html | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/print/templates/index.html b/print/templates/index.html index c7fa5d74..d0ab848f 100644 --- a/print/templates/index.html +++ b/print/templates/index.html @@ -9,22 +9,23 @@ </head> <body> {% include 'ui.html' %} - {# client overview #} - <div class="page client-overview" style="display: {{ 'block' if view.client_overview else 'none' }}">{% include 'print_overview.html' %}</div> + <div class="page client-overview" style="display: {{ 'block' if view.client_overview else 'none' }}">{% include 'print_overview.html' %}</div> {# client detailedview #} - {% set printview = 'detailedview' %} - {% for color_block in color_blocks %} - {% set outer_loop = loop %} - <div class="page client-detailedview" style="display: {{ 'block' if view.client_detailedview else 'none' }}">{% include 'print_detail.html' %}</div> - {% endfor %} + {% set printview = 'detailedview' %} + {% for color_block in color_blocks %} + {% set outer_loop = loop %} + <div class="page client-detailedview" style="display: {{ 'block' if view.client_detailedview else 'none' }}">{% include 'print_detail.html' %}</div> + {% endfor %} {# operator overview #} - <div class="page operator-overview" style="display: {{ 'block' if view.operator_overview else 'none' }}">{% include 'operator_overview.html' %}</div> + <div class="page operator-overview" style="display: {{ 'block' if view.operator_overview else 'none' }}">{% include 'operator_overview.html' %}</div> {# operator detailed view #} - {% include 'operator_detailedview.html' %} + {% include 'operator_detailedview.html' %} +{# custom pages #} + <div class="page custom-page" style="display: {{ 'block' if view.custom_page else 'none' }}">{% include 'custom-page.html' %}</div> </body> </html> |
