X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fam%2Fedit_units.html;h=00bea73cbbd26d16b4928bbdd3d9e1a98004d743;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hp=db3ae65583c487e3b42708c14b2cf5b50d50fb54;hpb=19064edf6bd7859e831fdf37cd465f7f933be6f3;p=kivitendo-erp.git diff --git a/templates/webpages/am/edit_units.html b/templates/webpages/am/edit_units.html index db3ae6558..00bea73cb 100644 --- a/templates/webpages/am/edit_units.html +++ b/templates/webpages/am/edit_units.html @@ -1,84 +1,28 @@ [%- USE T8 %][%- USE LxERP %][% USE L %] [% USE HTML %] +

[% title %]

+[% INCLUDE "common/flash.html" %] - [% IF saved_message %] -

[% saved_message %]

+[% PROCESS "am/_units_header_info.html" %] -
- [% END %] +
-
+

+ [% 'Units that have already been used (e.g. for parts and services or in invoices or warehouse transactions) cannot be changed.' | $T8 %] +

- - - - - - - -
[% title %]
- -

- [% LxERP.t8('All units have either no or exactly one base unit of which they are multiples.') %] - [% LxERP.t8('If you select a base unit then you also have to enter a factor.') %] - [% LxERP.t8('You have to define a unit as a multiple of a smaller unit.') %] - [% LxERP.t8('Therefore the definition of "kg" with the base unit "g" and a factor of 1000 is valid while defining "g" with a base unit of "kg" and a factor of "0.001" is not.') %] -

- -
+

+ [% 'Units marked for deletion will be deleted upon saving.' | $T8 %] +

- - -
[% 'Add unit' | $T8 %]
+

+ [% 'You can declare different translations for singular and plural for each unit (e.g. "day" and "days).' | $T8 %] +

- - - - - - - - - - - - - + - [% FOREACH language = LANGUAGES %] - - - - - - - [% END %] -
[% 'Unit' | $T8 %]
[% 'Base unit' | $T8 %] - -
[% 'Factor' | $T8 %]
[% language.description %][% 'Plural' | $T8 %]
- - - -
- - - -
[% 'Edit units' | $T8 %]
- -

- [% 'Units that have already been used (e.g. for parts and services or in invoices or warehouse transactions) cannot be changed.' | $T8 %] -

- -

- [% 'Units marked for deletion will be deleted upon saving.' | $T8 %] -

- -

- [% 'You can declare different translations for singular and plural for each unit (e.g. "day" and "days).' | $T8 %] -

+ @@ -138,9 +82,6 @@ - - [% L.sortable_element('#unit_list tbody', url => 'controller.pl?action=Unit/reorder', with => 'unit_id') %] -