X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcsv_import%2Fform.html;h=f42cdd87348cac38f8b512cfce2f5dc4ff289fd3;hb=6261d6ca23a2943f691d45ae6944da1a37eb7867;hp=bc23d54c2eb849637eb74e346c7a30753905652b;hpb=f87763cd84d89aafc4c4110ba42d041b02ce4371;p=kivitendo-erp.git diff --git a/templates/webpages/csv_import/form.html b/templates/webpages/csv_import/form.html index bc23d54c2..f42cdd873 100644 --- a/templates/webpages/csv_import/form.html +++ b/templates/webpages/csv_import/form.html @@ -1,14 +1,21 @@ -[% USE HTML %][% USE LxERP %][% USE L %] - - -
[% FORM.title %]
+[%- USE HTML %] +[%- USE LxERP %] +[%- USE L %] +[%- USE T8 %] +

[% FORM.title %]

[%- INCLUDE 'common/flash.html' %]
+ [% L.hidden_tag('form_sent', '1') %] [% L.hidden_tag('action', 'CsvImport/dispatch') %] [% L.hidden_tag('profile.type', SELF.profile.type) %] + [% L.hidden_tag('csv_import_access', SELF.csv_import_access) %] + [%- IF SELF.csv_import_access %] + [% L.hidden_tag('force_profile', 1) %] + [% L.hidden_tag('profile.id', SELF.profile.id) %] + [%- ELSE %]

[%- LxERP.t8('Import profiles') %]

@@ -23,7 +30,7 @@
[%- LxERP.t8('Existing profiles') %]: - [% L.select_tag('profile.id', L.options_for_select(SELF.all_profiles, title => 'name', default => SELF.profile.id), style => 'width: 300px') %] + [% L.select_tag('profile.id', SELF.all_profiles, title_key = 'name', default = SELF.profile.id, style = 'width: 300px') %] [% L.submit_tag('action_new', LxERP.t8('Load profile')) %] @@ -45,20 +52,134 @@
+

[%- LxERP.t8('Help on column names') %]

+ + + + + +
+

[%- LxERP.t8('Settings') %]

+ + + +
+ +[%- UNLESS SELF.worker.is_multiplexed %] +

[% 'Mappings (csv_import)' | $T8 %]

+ + + +
+[%- END %] +[%- END %] [% L.submit_tag('action_test', LxERP.t8('Test and preview')) %] - [% IF SELF.import_status && SELF.data.size %] - [% L.submit_tag('action_import', LxERP.t8('Import')) %] - [%- END %] + [% L.submit_tag('action_import', LxERP.t8('Import'), style='display:none') %] - [%- IF SELF.import_status %] - [%- PROCESS 'csv_import/_data.html' %] +
+ [%- IF SELF.deferred %] + [%- PROCESS 'csv_import/_deferred_results.html' %] + [%- ELSIF SELF.import_status %] + [%- PROCESS 'csv_import/_results.html' %] [%- END %] +
+ - -