Revision 93a613de
Von Bernd Bleßmann vor etwa 8 Jahren hinzugefügt
templates/webpages/order/tabs/_row.html | ||
---|---|---|
3 | 3 |
[%- USE LxERP %] |
4 | 4 |
[%- USE L %] |
5 | 5 |
|
6 |
<tbody class="row_entry"> |
|
6 |
<tbody class="row_entry listrow">
|
|
7 | 7 |
|
8 |
<tr class="listrow0">
|
|
8 |
<tr> |
|
9 | 9 |
<td align="center"> |
10 | 10 |
[%- IF MYCONFIG.show_form_details %] |
11 | 11 |
[% L.img_tag(src="image/collapse3.gif", |
... | ... | |
107 | 107 |
|
108 | 108 |
</tr> |
109 | 109 |
|
110 |
<tr class="listrow1" [%- IF !MYCONFIG.show_form_details -%]style="display:none"[%- END -%]>
|
|
110 |
<tr [%- IF !MYCONFIG.show_form_details -%]style="display:none"[%- END -%]> |
|
111 | 111 |
<td colspan="100%"> |
112 | 112 |
[%- IF MYCONFIG.show_form_details %] |
113 | 113 |
<div name="second_row" data-loaded="1"> |
templates/webpages/order/tabs/_second_row.html | ||
---|---|---|
4 | 4 |
[%- USE L %] |
5 | 5 |
|
6 | 6 |
<table> |
7 |
<tr class="listrow1">
|
|
7 |
<tr> |
|
8 | 8 |
[%- SET n = 0 %] |
9 | 9 |
[%- FOREACH var = ITEM.cvars_by_config %] |
10 | 10 |
[%- NEXT UNLESS (var.config.processed_flags.editable && ITEM.part.cvar_by_name(var.config.name).is_valid) %] |
... | ... | |
19 | 19 |
[% INCLUDE 'common/render_cvar_input.html' var_name='order.orderitems[].custom_variables[].unparsed_value' %] |
20 | 20 |
</td> |
21 | 21 |
[%- IF (n % (MYCONFIG.form_cvars_nr_cols || 3)) == 0 %] |
22 |
</tr><tr class="listrow1"> |
|
22 |
|
|
23 |
</tr><tr> |
|
23 | 24 |
[%- END %] |
24 | 25 |
[%- END %] |
25 | 26 |
</tr> |
Auch abrufbar als: Unified diff
Auftrags-Controller: Einfärben der row_entry-Zeilen mit listrow-Klasse.
Dadurch fällt die falsche alternierende Einfärbung der zweiten Zeile weg.