From: Sven Schöling Date: Wed, 5 Feb 2014 10:06:09 +0000 (+0100) Subject: Reportgenerator: optionale table class und hr aus table genommen X-Git-Tag: release-3.2.0beta~488 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=db3b23aa8ab6baaa3854259b59b033fbd23541ad;p=kivitendo-erp.git Reportgenerator: optionale table class und hr aus table genommen --- diff --git a/SL/ReportGenerator.pm b/SL/ReportGenerator.pm index e965e4422..09ab7bd7b 100644 --- a/SL/ReportGenerator.pm +++ b/SL/ReportGenerator.pm @@ -401,6 +401,7 @@ sub prepare_html_content { 'EXPORT_NEXTSUB' => $self->{export}->{nextsub}, 'DATA_PRESENT' => $self->{data_present}, 'CONTROLLER_DISPATCH' => $opts->{controller_class}, + 'TABLE_CLASS' => $opts->{table_class}, }; return $variables; diff --git a/templates/webpages/report_generator/html_report.html b/templates/webpages/report_generator/html_report.html index 2b169ab36..c2fe759b3 100644 --- a/templates/webpages/report_generator/html_report.html +++ b/templates/webpages/report_generator/html_report.html @@ -27,7 +27,7 @@ [% IF DATA_PRESENT %]

- +
[%- FOREACH row = HEADER_ROWS %] [% FOREACH col = row %] @@ -76,9 +76,8 @@ [% END %] [% END %] - -

+


[% ELSE %]

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