From: Bernd Bleßmann Date: Tue, 22 Nov 2016 00:10:10 +0000 (+0100) Subject: Auftrags-Controller: Einfärben der row_entry-Zeilen mit listrow-Klasse. X-Git-Tag: release-3.5.4~1828 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=93a613ded9c6372a4b97c9f7e04a7dc9d037392c;p=kivitendo-erp.git Auftrags-Controller: Einfärben der row_entry-Zeilen mit listrow-Klasse. Dadurch fällt die falsche alternierende Einfärbung der zweiten Zeile weg. --- diff --git a/templates/webpages/order/tabs/_row.html b/templates/webpages/order/tabs/_row.html index ce6e94fa2..3e45adc2e 100644 --- a/templates/webpages/order/tabs/_row.html +++ b/templates/webpages/order/tabs/_row.html @@ -3,9 +3,9 @@ [%- USE LxERP %] [%- USE L %] - + - + [%- IF MYCONFIG.show_form_details %] [% L.img_tag(src="image/collapse3.gif", @@ -107,7 +107,7 @@ - + [%- IF MYCONFIG.show_form_details %]
diff --git a/templates/webpages/order/tabs/_second_row.html b/templates/webpages/order/tabs/_second_row.html index 7f9a17bf2..cb1048d5c 100644 --- a/templates/webpages/order/tabs/_second_row.html +++ b/templates/webpages/order/tabs/_second_row.html @@ -4,7 +4,7 @@ [%- USE L %] - + [%- SET n = 0 %] [%- FOREACH var = ITEM.cvars_by_config %] [%- NEXT UNLESS (var.config.processed_flags.editable && ITEM.part.cvar_by_name(var.config.name).is_valid) %] @@ -19,7 +19,8 @@ [% INCLUDE 'common/render_cvar_input.html' var_name='order.orderitems[].custom_variables[].unparsed_value' %] [%- IF (n % (MYCONFIG.form_cvars_nr_cols || 3)) == 0 %] - + + [%- END %] [%- END %]