Revision 4eea286e
Von Sven Schöling vor etwa 10 Jahren hinzugefügt
templates/webpages/price_rule/empty_item.html | ||
---|---|---|
1 | 1 |
[%- USE L %] |
2 | 2 |
[%- USE T8 %] |
3 | 3 |
[% L.select_tag('', SELF.all_price_rule_item_types, id='price_rules_empty_item_select') %] |
4 |
<a id='price_rule_item_add'>[% 'Add new price rule item' | $T8 %]</a> |
|
4 |
<a id='price_rule_item_add' class='cursor-pointer'>[% 'Add new price rule item' | $T8 %]</a> |
templates/webpages/price_rule/form.html | ||
---|---|---|
40 | 40 |
</div> |
41 | 41 |
|
42 | 42 |
<h3>[% 'Then' | $T8 %]:</h3> |
43 |
<div>[% '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) %] <a id='price_rule_price_type_help' title='[% 'Price type explanation' | $T8 %]'>[?]</a> |
|
43 |
<div>[% '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) %] <a id='price_rule_price_type_help' class='interact cursor-help' title='[% 'Price type explanation' | $T8 %]'>[?]</a>
|
|
44 | 44 |
</div> |
45 | 45 |
|
46 | 46 |
<p> |
templates/webpages/price_rule/item.html | ||
---|---|---|
13 | 13 |
[ 'lt', LxERP.t8('is before') ], |
14 | 14 |
] %] |
15 | 15 |
<div> |
16 |
<a class='price_rule_remove_line'><img height="10px" width="10px" src="image/cross.png" alt="[% 'Remove' | $T8 %]"></a>
|
|
16 |
<a class='price_rule_remove_line interact cursor-pointer'>✘</a>
|
|
17 | 17 |
[% L.hidden_tag('price_rule.items[+].id', item.id) %] |
18 | 18 |
[% L.hidden_tag('price_rule.items[].type', item.type) %] |
19 | 19 |
[%- SWITCH item.type %] |
Auch abrufbar als: Unified diff
PriceRule: kleinere style updates