From: Moritz Bunkus Date: Fri, 20 Jan 2017 17:00:22 +0000 (+0100) Subject: Angebots/Auftragssuche: Style-Attribut zentral via Variable setzen X-Git-Tag: release-3.5.4~1667^2~18 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=bb89cd364bde4dc194eefa7010880ecb046ce53a;p=kivitendo-erp.git Angebots/Auftragssuche: Style-Attribut zentral via Variable setzen --- diff --git a/templates/webpages/oe/search.html b/templates/webpages/oe/search.html index 50b04cb42..e0f331010 100644 --- a/templates/webpages/oe/search.html +++ b/templates/webpages/oe/search.html @@ -22,59 +22,59 @@ [% 'Contact Person' | $T8 %] - [% L.input_tag("cp_name", '', style="width: 250px") %] + [% L.input_tag("cp_name", '', style=style) %] [%- IF ALL_DEPARTMENTS.size %] [% 'Department' | $T8 %] - [% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, style="width: 250px") %] + [% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, style=style) %] [%- END %] [% HTML.escape(ordlabel) %] - + [% IF is_order %] [% LxERP.t8("Customer Order Number") %] - [% L.input_tag("cusordnumber", '', style="width: 250px") %] + [% L.input_tag("cusordnumber", '', style=style) %] [% END %] [% 'Employee' | $T8 %] - [% L.select_tag('employee_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, style='width:250px') %] + [% L.select_tag('employee_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, style=style) %] [% 'Salesman' | $T8 %] - [% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, style='width:250px') %] + [% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, style=style) %] [% 'Steuersatz' | $T8 %] - [% L.select_tag('taxzone_id', ALL_TAXZONES, with_empty=1, title_key='description', style='width: 250px') %] + [% L.select_tag('taxzone_id', ALL_TAXZONES, with_empty=1, title_key='description', style=style) %] [% 'Shipping Point' | $T8 %] - [% L.input_tag('shippingpoint', '', style='width:250px') %] + [% L.input_tag('shippingpoint', '', style=style) %] [% 'Transaction description' | $T8 %] - + [% 'Part Description' | $T8 %] - + [% 'Project' | $T8 %] [% P.project_picker("project_id", '', style=style) %] [% 'Part Number' | $T8 %] - + [%- UNLESS ALL_BUSINESS_TYPES.size == 0 %] [% vctypelabel %] - [% L.select_tag('business_id', ALL_BUSINESS_TYPES, title_key = 'description', with_empty = 1, style='width:250px') %] + [% L.select_tag('business_id', ALL_BUSINESS_TYPES, title_key = 'description', with_empty = 1, style=style) %] [%- END %]