From 34e4daa1f32f684f65031fe4ffb67e9ebf5100a8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Fri, 1 Dec 2017 14:17:07 +0100 Subject: [PATCH] =?utf8?q?Mandantenkonfig:=20kleinere=20HTML-Fehler=20beho?= =?utf8?q?ben=20=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit - doppeltes - fehlendes - input/hidden-tag ausserhalb --- templates/webpages/client_config/_features.html | 4 ++-- templates/webpages/client_config/_miscellaneous.html | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/templates/webpages/client_config/_features.html b/templates/webpages/client_config/_features.html index 48b1ba307..53422d047 100644 --- a/templates/webpages/client_config/_features.html +++ b/templates/webpages/client_config/_features.html @@ -157,8 +157,7 @@ [% LxERP.t8('Normalize part description and part notes') %] [% L.yes_no_tag('defaults.normalize_part_descriptions', SELF.defaults.normalize_part_descriptions) %] [% LxERP.t8('Automatic deletion of leading, trailing and excessive (repetitive) spaces in part description and part notes. Affects the CSV import as well.') %] - - + [% LxERP.t8("Purchasing & Sales") %] @@ -278,6 +277,7 @@ [% LxERP.t8('Project type') %] [% L.select_tag('defaults.project_type_id', SELF.all_project_types, default=SELF.defaults.project_type_id, title_key='description', with_empty=0, style="width: 200px") %] + [% LxERP.t8('Project Status') %] [% L.select_tag('defaults.project_status_id', SELF.all_project_statuses, default=SELF.defaults.project_status_id, title_key='description', with_empty=0, style="width: 200px") %] diff --git a/templates/webpages/client_config/_miscellaneous.html b/templates/webpages/client_config/_miscellaneous.html index 603575853..ec4483577 100644 --- a/templates/webpages/client_config/_miscellaneous.html +++ b/templates/webpages/client_config/_miscellaneous.html @@ -89,9 +89,11 @@ [% FOREACH currency = SELF.all_currencies %] - [% L.hidden_tag("currencies[+].id", currency.id) %] - [% IF loop.count == 1 %][% LxERP.t8("Currencies") %][% END %] + + [% L.hidden_tag("currencies[+].id", currency.id) %] + [% IF loop.count == 1 %][% LxERP.t8("Currencies") %][% END %] + [% L.input_tag("currencies[].name", currency.name, style=style) %] [% L.radio_button_tag('defaults.currency_id', value=currency.id, id='defaults.currency_id_' _ currency.id, checked=(SELF.defaults.currency_id == currency.id)) %] [% IF loop.count == 1 %][% LxERP.t8("Edit the currency names in order to rename them.") %][%- END %] -- 2.20.1