X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fam%2Fedit_units.html;h=c8d6ae717515fec9dd5875900668dd5f2214cc68;hb=d366e4291fa63d64a74c8c80be4aa2dac4c1223f;hp=f419c57d007546c6940de11b41df09a519ed9b98;hpb=b5f5d0631a2bc7cf065d65388c094d3fd4a2a160;p=kivitendo-erp.git diff --git a/templates/webpages/am/edit_units.html b/templates/webpages/am/edit_units.html index f419c57d0..c8d6ae717 100644 --- a/templates/webpages/am/edit_units.html +++ b/templates/webpages/am/edit_units.html @@ -1,5 +1,6 @@ -[%- USE T8 %][%- USE LxERP %] -[% USE HTML %] +[%- USE T8 %][%- USE LxERP %][% USE L %] +[% USE HTML %] + [% IF saved_message %]

[% saved_message %]

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

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