From 93a613ded9c6372a4b97c9f7e04a7dc9d037392c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Tue, 22 Nov 2016 01:10:10 +0100 Subject: [PATCH] =?utf8?q?Auftrags-Controller:=20Einf=C3=A4rben=20der=20ro?= =?utf8?q?w=5Fentry-Zeilen=20mit=20listrow-Klasse.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Dadurch fällt die falsche alternierende Einfärbung der zweiten Zeile weg. --- templates/webpages/order/tabs/_row.html | 6 +++--- templates/webpages/order/tabs/_second_row.html | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) 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 %] -- 2.20.1