X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Freport_generator%2Fhtml_report.html;fp=templates%2Fwebpages%2Freport_generator%2Fhtml_report.html;h=4ed1ca88e7d95f34e943f0eacfc1b745807404fd;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hp=1430969dd940b3d882550cb33f4995693d95a62d;hpb=deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44;p=kivitendo-erp.git diff --git a/templates/webpages/report_generator/html_report.html b/templates/webpages/report_generator/html_report.html index 1430969dd..4ed1ca88e 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 %] @@ -26,8 +28,8 @@ [% RAW_TOP_INFO_TEXT %] [% IF DATA_PRESENT %] -

- +
+ [%- FOREACH row = HEADER_ROWS %] [% FOREACH col = row %] @@ -35,15 +37,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 %] @@ -76,9 +84,9 @@ [% END %] [% END %] +
[% row.data %]


-

[% ELSE %]

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

[% END %] @@ -90,27 +98,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 %] @@ -122,6 +135,7 @@ document.report_generator_form.submit(); } // --> +[%- END %][%# !SKIP_BUTTONS %] [%- END %]