Revision 943901c1
Von Moritz Bunkus vor fast 17 Jahren hinzugefügt
SL/ReportGenerator.pm | ||
---|---|---|
343 | 343 |
# will format the table cell (e.g. borders etc). |
344 | 344 |
if (!scalar @{ $col->{CELL_ROWS} }) { |
345 | 345 |
push @{ $col->{CELL_ROWS} }, { 'data' => ' ' }; |
346 |
} elsif ((1 == scalar @{ $col->{CELL_ROWS} }) && !$col->{CELL_ROWS}->[0]->{data}) {
|
|
346 |
} elsif ((1 == scalar @{ $col->{CELL_ROWS} }) && (!defined $col->{CELL_ROWS}->[0]->{data} || ($col->{CELL_ROWS}->[0]->{data} eq ''))) {
|
|
347 | 347 |
$col->{CELL_ROWS}->[0]->{data} = ' '; |
348 | 348 |
} |
349 | 349 |
} |
templates/webpages/report_generator/html_report_de.html | ||
---|---|---|
59 | 59 |
[%- IF tdclass %] class="[% tdclass %]"[%- END %]> |
60 | 60 |
[%- IF col.raw_data %][%- col.raw_data %][%- END %] |
61 | 61 |
[%- USE iterator(col.CELL_ROWS) %][%- FOREACH cell_row = iterator %] |
62 |
[%- IF cell_row.data %] |
|
62 |
[%- IF cell_row.data != '' %]
|
|
63 | 63 |
[%- IF cell_row.link %]<a href="[% cell_row.link %]">[%- END %] |
64 | 64 |
[%- cell_row.data %] |
65 | 65 |
[%- IF cell_row.link %]</a>[%- END %] |
templates/webpages/report_generator/html_report_master.html | ||
---|---|---|
59 | 59 |
[%- IF tdclass %] class="[% tdclass %]"[%- END %]> |
60 | 60 |
[%- IF col.raw_data %][%- col.raw_data %][%- END %] |
61 | 61 |
[%- USE iterator(col.CELL_ROWS) %][%- FOREACH cell_row = iterator %] |
62 |
[%- IF cell_row.data %] |
|
62 |
[%- IF cell_row.data != '' %]
|
|
63 | 63 |
[%- IF cell_row.link %]<a href="[% cell_row.link %]">[%- END %] |
64 | 64 |
[%- cell_row.data %] |
65 | 65 |
[%- IF cell_row.link %]</a>[%- END %] |
Auch abrufbar als: Unified diff
Zelleninhalte, die nur "0" sind (also die Zahl "0"), wurden in PDF- und HTML-Ausgabe nicht angezeigt.