diff --git a/templates/design40_webpages/part/_parent_variant.html b/templates/design40_webpages/part/_parent_variant.html index cea327c426..88329b14c4 100644 --- a/templates/design40_webpages/part/_parent_variant.html +++ b/templates/design40_webpages/part/_parent_variant.html @@ -4,34 +4,49 @@ [% USE L %] [% USE P %] -
-

[% LxERP.t8("Create new Variants") %]

-
- [% FOREACH variant_property = SELF.part.variant_properties %] -
-

[% variant_property.name_translated | html %]

- [% L.select_tag("variant_properties." _ variant_property.id _ ".selected_property_values[]", - variant_property.property_values, - title_key='value_translated', value_key='id', - id="selected_property_values_" _ variant_property.id, - multiple=1, - ) %] - [% L.multiselect2side( - "selected_property_values_" _ variant_property.id, - labelsx=LxERP.t8("All Property Values"), - labeldx=LxERP.t8("Selected Property Values") - ) %] +
+
+

[% LxERP.t8("Create new Variants") %]

+
+ [% FOREACH variant_property = SELF.part.variant_properties %] +
+

[% variant_property.name_translated | html %]

+ [% L.select_tag("variant_properties." _ variant_property.id _ ".selected_property_values[]", + variant_property.property_values, + title_key='value_translated', value_key='id', + id="selected_property_values_" _ variant_property.id, + multiple=1, + ) %] + [% L.multiselect2side( + "selected_property_values_" _ variant_property.id, + labelsx=LxERP.t8("All Property Values"), + labeldx=LxERP.t8("Selected Property Values") + ) %] +
+ [% END %]
- [% END %] + [% L.button_tag('kivi.Part.create_variants();', LxERP.t8("Create Variants with selected Values")) %]
- [% L.button_tag('kivi.Part.create_variants();', LxERP.t8("Create Variants with selected Values")) %] -
- -
-variants: -[% FOREACH variant = SELF.part.variants %] - [% variant.partnumber %]:[% variant.description %] -[% END %] + + + + + + + + + [% FOREACH variant = SELF.part.variants %] + + + + + + [% END %] + +
+ [% LxERP.t8("Variants") %] +
[% "Partnumber" | $T8 %][% "Description" | $T8 %][% "Property Values" | $T8 %]
[% variant.presenter.part %][% variant.description | html %][% variant.variant_values | html %]
+