X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fshop_part%2Fcategories.html;h=9d51997a18a0f348ed75ff8bee4f983470150fd7;hb=b1a92c5647cfba337902208c097a2273233197f2;hp=80676eb9b337fbf18572eaa514061af9120666eb;hpb=45c3c24a1f37a97b8fe2f73af72aad439b686381;p=kivitendo-erp.git diff --git a/templates/webpages/shop_part/categories.html b/templates/webpages/shop_part/categories.html index 80676eb9b..9d51997a1 100644 --- a/templates/webpages/shop_part/categories.html +++ b/templates/webpages/shop_part/categories.html @@ -6,50 +6,30 @@ [%- USE Dumper -%] [% LxERP.t8("Part") %]: [% HTML.escape(SELF.shop_part.part.displayable_name) %]
-[% LxERP.t8("Shop") %]: [% HTML.escape(SELF.shop_part.shop.description) %] -
-[% # Dumper.dump_html(SELF.shop_part.shop_category) %] -
-[% # Dumper.dump_html(CATEGORIES) %] +[% LxERP.t8("Shop") %]: [% HTML.escape(SELF.shop_part.shop.description) %]
[% BLOCK recurse %] - [% # path = '' %] - [% FOREACH obj = data %] - [% END %] [% END %]

[% LxERP.t8("Shopcategories") %]

- [% FOREACH row = CATEGORIES %] - - [% IF row.name == 'Root' %] - [% IF row.childrenCount >= 1 %] - [% path = '' %] - [% INCLUDE recurse data=row.children path=path %] - [% END %] - [% END %] - [% END %] + [% # Dumper.dump_html( CATEGORIES ) %] + [% INCLUDE recurse categories_array=CATEGORIES %]
[% L.button_tag("kivi.ShopPart.save_categories(" _ SELF.shop_part.id _", " _ SELF.shop_part.shop.id _")", LxERP.t8("Save")) %]
-