X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcustom_variable_config%2Flist.html;h=f17b20dda134fa6c5936d4dac46eda59c8b08fc0;hb=2ba42577fce2f8a7da0e9aead95292ba6ccff0b0;hp=74f90a20ee9cc574628864db7d7714c5d5c45dc7;hpb=2737667aa9394428f885187928509e7c5d0ec4d4;p=kivitendo-erp.git diff --git a/templates/webpages/custom_variable_config/list.html b/templates/webpages/custom_variable_config/list.html index 74f90a20e..f17b20dda 100644 --- a/templates/webpages/custom_variable_config/list.html +++ b/templates/webpages/custom_variable_config/list.html @@ -4,21 +4,28 @@

[% 'Custom variables for module' | $T8 %] - [%- L.select_tag('module', SELF.modules, value_key='module', title_key='description', default=SELF.module, onchange='show_module_list()') %] + [% L.select_tag('module', SELF.modules, value_key='module', title_key='description', default=SELF.module, onchange='show_module_list()') %]

+[%- IF SELF.module == 'IC' %] + [%- SET W="12.5%" %] +[%- ELSE %] + [%- SET W="20%" %] +[%- END %]

- - - - - - + + + + + + [%- IF SELF.module == 'IC' %] - + + + [%- END %] @@ -26,7 +33,7 @@ [%- FOREACH cfg = CONFIGS %] - + @@ -39,6 +46,8 @@ [%- IF SELF.module == 'IC' %] + + [%- END %] [%- END %] @@ -46,12 +55,6 @@
[ LxERP.t8('reorder item') %][% 'Name' | $T8 %][% 'Description' | $T8 %][% 'Type' | $T8 %][% 'Searchable' | $T8 %][% 'Includeable in reports' | $T8 %][%- LxERP.t8('reorder item') %][% 'Name' | $T8 %][% 'Description' | $T8 %][% 'Type' | $T8 %][% 'Searchable' | $T8 %][% 'Includeable in reports' | $T8 %][% 'Editable' | $T8 %][% 'Editable' | $T8 %][% 'Deactivate by default' | $T8 %][% 'Filter by Partsgroups' | $T8 %]
[ LxERP.t8('reorder item') %][%- LxERP.t8('reorder item') %] [% HTML.escape(cfg.name) %][%- IF cfg.flags.match('editable=1') %][% 'Yes' | $T8 %][%- ELSE %][% 'No' | $T8 %][%- END %][%- IF cfg.flags.match('defaults_to_invalid=1') %][% 'Yes' | $T8 %][%- ELSE %][% 'No' | $T8 %][%- END %][%- IF cfg.flags.match('partsgroup_filter=1') %][% 'Yes' | $T8 %][%- ELSE %][% 'No' | $T8 %][%- END %]

-
- -

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

- [% L.sortable_element('#cvarcfg_list tbody', url=SELF.url_for(action='reorder'), with='cvarcfg_id', params='"&module=" + encodeURIComponent($("#module").val())') %]