Revision 966ba2b1
Von Werner Hahn vor mehr als 6 Jahren hinzugefügt
templates/webpages/shop_part/categories.html | ||
---|---|---|
3 | 3 |
[%- USE L -%] |
4 | 4 |
[%- USE P -%] |
5 | 5 |
[%- USE LxERP -%] |
6 |
[%- USE Dumper -%] |
|
7 | 6 |
|
8 | 7 |
[% LxERP.t8("Part") %]: [% HTML.escape(SELF.shop_part.part.displayable_name) %]<br> |
9 |
[% LxERP.t8("Shop") %]: [% HTML.escape(SELF.shop_part.shop.description) %] |
|
10 |
<br> |
|
11 |
[% # Dumper.dump_html(SELF.shop_part.shop_category) %] |
|
12 |
<br> |
|
13 |
[% # Dumper.dump_html(CATEGORIES) %] |
|
8 |
[% LxERP.t8("Shop") %]: [% HTML.escape(SELF.shop_part.shop.description) %]<br> |
|
14 | 9 |
|
15 | 10 |
<form action="controller.pl" method="post"> |
16 | 11 |
[% BLOCK recurse %] |
... | ... | |
21 | 16 |
[% checked = '' %] |
22 | 17 |
[% # path = path _ obj.name %] |
23 | 18 |
[% # test = path.split('\|') %] |
24 |
[% # Dumper.dump_html(SELF.shop_part.shop_category) %] |
|
25 | 19 |
[% IF SELF.shop_part.shop_category.1.grep(obj.name).size %] |
26 | 20 |
[% checked = 'checked' %] |
27 | 21 |
[% ELSE %] |
... | ... | |
52 | 46 |
</div> |
53 | 47 |
[% L.button_tag("kivi.ShopPart.save_categories(" _ SELF.shop_part.id _", " _ SELF.shop_part.shop.id _")", LxERP.t8("Save")) %]</td> |
54 | 48 |
</form> |
55 |
|
Auch abrufbar als: Unified diff
WebshopApi: templates