Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a40ea278

Von Moritz Bunkus vor etwa 15 Jahren hinzugefügt

  • ID a40ea2781b794da7c0284a484f581cd5390c8a72
  • Vorgänger 3bd2330e
  • Nachfolger 7886b2fe

ReportGenerator: Beim der HTML-Ausgabe nur entweder raw_data oder data ausgeben; raw_data hat PrioritÀt.

Unterschiede anzeigen:

templates/webpages/report_generator/html_report_de.html
68 68
         [%- IF row.BORDER_BOTTOM %][%- SET tdclass = "$tdclass bottom_border" %][%- END %]
69 69
         [%- IF col.class %][%- SET tdclass = "$tdclass $col.class" %][%- END %]
70 70
         [%- IF tdclass %] class="[% tdclass %]"[%- END %]>
71
       [%- IF col.raw_data %][%- col.raw_data %][%- END %]
72
       [%- USE iterator(col.CELL_ROWS) %][%- FOREACH cell_row = iterator %]
73
        [%- IF cell_row.data != '' %]
74
         [%- IF cell_row.link %]<a href="[% cell_row.link %]">[%- END %]
75
         [%- cell_row.data %]
76
         [%- IF cell_row.link %]</a>[%- END %]
71
       [%- IF col.raw_data %]
72
        [%- col.raw_data %]
73
       [%- ELSE %]
74
        [%- USE iterator(col.CELL_ROWS) %][%- FOREACH cell_row = iterator %]
75
         [%- IF cell_row.data != '' %]
76
          [%- IF cell_row.link %]<a href="[% cell_row.link %]">[%- END %]
77
          [%- cell_row.data %]
78
          [%- IF cell_row.link %]</a>[%- END %]
79
         [%- END %]
80
        [%- UNLESS iterator.last %]<br>[%- END %]
77 81
        [%- END %]
78
       [%- UNLESS iterator.last %]<br>[%- END %]
79 82
       [%- END %]
80 83
      </td>
81 84
      [%- END %]
templates/webpages/report_generator/html_report_master.html
68 68
         [%- IF row.BORDER_BOTTOM %][%- SET tdclass = "$tdclass bottom_border" %][%- END %]
69 69
         [%- IF col.class %][%- SET tdclass = "$tdclass $col.class" %][%- END %]
70 70
         [%- IF tdclass %] class="[% tdclass %]"[%- END %]>
71
       [%- IF col.raw_data %][%- col.raw_data %][%- END %]
72
       [%- USE iterator(col.CELL_ROWS) %][%- FOREACH cell_row = iterator %]
73
        [%- IF cell_row.data != '' %]
74
         [%- IF cell_row.link %]<a href="[% cell_row.link %]">[%- END %]
75
         [%- cell_row.data %]
76
         [%- IF cell_row.link %]</a>[%- END %]
71
       [%- IF col.raw_data %]
72
        [%- col.raw_data %]
73
       [%- ELSE %]
74
        [%- USE iterator(col.CELL_ROWS) %][%- FOREACH cell_row = iterator %]
75
         [%- IF cell_row.data != '' %]
76
          [%- IF cell_row.link %]<a href="[% cell_row.link %]">[%- END %]
77
          [%- cell_row.data %]
78
          [%- IF cell_row.link %]</a>[%- END %]
79
         [%- END %]
80
        [%- UNLESS iterator.last %]<br>[%- END %]
77 81
        [%- END %]
78
       [%- UNLESS iterator.last %]<br>[%- END %]
79 82
       [%- END %]
80 83
      </td>
81 84
      [%- END %]

Auch abrufbar als: Unified diff