X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fam%2Fedit_units.html;h=c9495e14e7ad2d0a56a6586597e8fc1ec9ffba59;hb=1b69969f8d9fedd218b059b7148bc3778ee600f3;hp=ddc9539151156d92d68358beccd517afd9cd1666;hpb=b28b621e54cd36258e0bf0b4cc40148781f1e977;p=kivitendo-erp.git diff --git a/templates/webpages/am/edit_units.html b/templates/webpages/am/edit_units.html index ddc953915..c9495e14e 100644 --- a/templates/webpages/am/edit_units.html +++ b/templates/webpages/am/edit_units.html @@ -1,5 +1,9 @@ -[%- USE T8 %][%- USE LxERP %] -[% USE HTML %] +[%- USE T8 %][%- USE LxERP %][% USE L %] +[% USE HTML %] + + + + [% IF saved_message %]

[% saved_message %]

@@ -79,9 +83,10 @@ [% 'You can declare different translations for singular and plural for each unit (e.g. "day" and "days).' | $T8 %]

- +
+ - + @@ -90,10 +95,12 @@ [% END %] + + [% FOREACH row = UNITS %] - - + + [% IF row.in_use %] [% END %] - - [% IF loop.last %][% END %] [% END %] +
[% 'up' | $T8 %][% 'down' | $T8 %][ LxERP.t8('reorder item') %] [% 'Delete' | $T8 %] [% 'Unit' | $T8 %] [% 'Base unit' | $T8 %][% language.description %]
[% IF loop.first %][% ELSE %][% 'up' | $T8 %][% END %][% IF loop.last %][% ELSE %][% 'down' | $T8 %][% END %]
[ LxERP.t8('reorder item') %] @@ -128,14 +135,17 @@
+ + + [% L.sortable_element('#unit_list tbody', url => 'controller.pl?action=Unit/reorder', with => 'unit_id') %] +