X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Freport_generator%2Fhtml_report.html;h=bd9ac7a514a2da6028ec96351df499e8d7822b56;hb=8ad661b7c9af26d9b0b5b565121bbdd735db6217;hp=2b169ab368acec5604a2a0a96e07f89a83c0d91b;hpb=cafe1b4f14d15c3bdf36bba97b4cba487e9b0e5d;p=kivitendo-erp.git diff --git a/templates/webpages/report_generator/html_report.html b/templates/webpages/report_generator/html_report.html index 2b169ab36..bd9ac7a51 100644 --- a/templates/webpages/report_generator/html_report.html +++ b/templates/webpages/report_generator/html_report.html @@ -19,6 +19,8 @@

[% TITLE %]

+ [%- INCLUDE 'common/flash.html' %] + [% IF TOP_INFO_TEXT %]

[% TOP_INFO_TEXT %]

[% END %] @@ -27,7 +29,8 @@ [% IF DATA_PRESENT %]

- +
+ [%- FOREACH row = HEADER_ROWS %] [% FOREACH col = row %] @@ -35,15 +38,21 @@ [%- IF col.align %] align="[% HTML.escape(col.align) %]" style="text-align: [% HTML.escape(col.align) %]"[% END -%] [%- IF col.colspan && col.colspan > 1 %] colspan="[% HTML.escape(col.colspan) %]"[% END -%] > - [%- IF col.link -%][%- END -%] - [%- col.text -%] - [%- IF col.show_sort_indicator -%][%- END -%] - [%- IF col.link -%][%- END -%] + [%- IF col.raw_header_data %] + [% col.raw_header_data %] + [% ELSE %] + [%- IF col.link -%][%- END -%] + [%- col.text -%] + [%- IF col.show_sort_indicator -%][%- END -%] + [%- IF col.link -%][%- END -%] + [%- END %] [% END %] [%- END %] + + [% FOREACH row = ROWS %] [% IF row.IS_CONTROL %] [% IF row.IS_COLSPAN_DATA %][% END %] @@ -63,7 +72,7 @@ [%- ELSE %] [%- USE iterator(col.CELL_ROWS) %][%- FOREACH cell_row = iterator %] [%- IF cell_row.data != '' %] - [%- IF cell_row.link %][%- END %] + [%- IF cell_row.link %][%- END %] [%- cell_row.data %] [%- IF cell_row.link %][%- END %] [%- END %] @@ -76,9 +85,9 @@ [% END %] [% END %] - - +
[% row.data %]

+


[% ELSE %]

[% 'No data was found.' | $T8 %]

@@ -91,27 +100,32 @@ [% END %] [% IF SHOW_EXPORT_BUTTONS %] -
+ [% FOREACH var = EXPORT_VARIABLES %] [% END %] [%- IF CONTROLLER_DISPATCH %] +[% IF !SKIP_BUTTONS %] +[%- END %][%# !SKIP_BUTTONS %] +[% IF !SKIP_BUTTONS %]

[% 'List export' | $T8 %]
[% IF ALLOW_PDF_EXPORT %][% END %] [% IF ALLOW_CSV_EXPORT %][% END %]

+[%- END %][%# !SKIP_BUTTONS %] [%- ELSE %] +[% IF !SKIP_BUTTONS %]

[% 'List export' | $T8 %]
[% IF ALLOW_PDF_EXPORT %][% END %] @@ -123,8 +137,8 @@ document.report_generator_form.submit(); } // --> +[%- END %][%# !SKIP_BUTTONS %] [%- END %]

[% END %] -