From: Sven Schöling Date: Wed, 29 Oct 2014 10:15:13 +0000 (+0100) Subject: PriceRule: kleinere style updates X-Git-Tag: release-3.2.0beta~117 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=4eea286e58d6646d95fa7392f9bdd7611eafa07f;p=kivitendo-erp.git PriceRule: kleinere style updates --- diff --git a/templates/webpages/price_rule/empty_item.html b/templates/webpages/price_rule/empty_item.html index 115c56ca5..da0ae6245 100644 --- a/templates/webpages/price_rule/empty_item.html +++ b/templates/webpages/price_rule/empty_item.html @@ -1,4 +1,4 @@ [%- USE L %] [%- USE T8 %] [% L.select_tag('', SELF.all_price_rule_item_types, id='price_rules_empty_item_select') %] -[% 'Add new price rule item' | $T8 %] +[% 'Add new price rule item' | $T8 %] diff --git a/templates/webpages/price_rule/form.html b/templates/webpages/price_rule/form.html index 752851f71..51f6066d3 100644 --- a/templates/webpages/price_rule/form.html +++ b/templates/webpages/price_rule/form.html @@ -40,7 +40,7 @@

[% 'Then' | $T8 %]:

-
[% 'Set (set to)' | $T8 %] [% L.select_tag('price_rule.price_type', SELF.all_price_types, default=SELF.price_rule.price_type) %] [% 'to (set to)' | $T8 %] [% L.input_tag('price_rule.price_or_discount_as_number', SELF.price_rule.price_or_discount_as_number) %] [?] +
[% 'Set (set to)' | $T8 %] [% L.select_tag('price_rule.price_type', SELF.all_price_types, default=SELF.price_rule.price_type) %] [% 'to (set to)' | $T8 %] [% L.input_tag('price_rule.price_or_discount_as_number', SELF.price_rule.price_or_discount_as_number) %] [?]

diff --git a/templates/webpages/price_rule/item.html b/templates/webpages/price_rule/item.html index b9f9618f8..7394e6ff8 100644 --- a/templates/webpages/price_rule/item.html +++ b/templates/webpages/price_rule/item.html @@ -13,7 +13,7 @@ [ 'lt', LxERP.t8('is before') ], ] %]

-[% 'Remove' | $T8 %] +✘ [% L.hidden_tag('price_rule.items[+].id', item.id) %] [% L.hidden_tag('price_rule.items[].type', item.type) %] [%- SWITCH item.type %]