Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision db3b23aa

Von Sven Schöling vor fast 11 Jahren hinzugefügt

  • ID db3b23aa8ab6baaa3854259b59b033fbd23541ad
  • Vorgänger 50133d13
  • Nachfolger 2ff89da4

Reportgenerator: optionale table class und hr aus table genommen

Unterschiede anzeigen:

SL/ReportGenerator.pm
401 401
    'EXPORT_NEXTSUB'       => $self->{export}->{nextsub},
402 402
    'DATA_PRESENT'         => $self->{data_present},
403 403
    'CONTROLLER_DISPATCH'  => $opts->{controller_class},
404
    'TABLE_CLASS'          => $opts->{table_class},
404 405
  };
405 406

  
406 407
  return $variables;
templates/webpages/report_generator/html_report.html
27 27

  
28 28
 [% IF DATA_PRESENT %]
29 29
 <p>
30
  <table width="100%">
30
  <table [% IF TABLE_CLASS %]class="[% TABLE_CLASS %]"[% END %] width="100%">
31 31
   [%- FOREACH row = HEADER_ROWS %]
32 32
   <tr>
33 33
    [% FOREACH col = row %]
......
76 76
    [% END %]
77 77
   [% END %]
78 78

  
79
   <tr><td colspan="[% NUM_COLUMNS %]"><hr size="3" noshade></td></tr>
80

  
81 79
  </table>
80
  <hr size="3" noshade>
82 81
 </p>
83 82
 [% ELSE %]
84 83
  <p class="message_hint">[% 'No data was found.' | $T8 %]</p>

Auch abrufbar als: Unified diff