X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcsv_import%2Fform.html;h=0f8ac959ddebea7c38d1d212f6cc845ff1362e8e;hb=ccb40ac450d3094ebc5b544e75ccacdc27f47aee;hp=5c265094b3e1e61c7f283e06ef659d6d49584131;hpb=4f81a77f01063745916cf2cf191dee14a667ab9d;p=kivitendo-erp.git diff --git a/templates/webpages/csv_import/form.html b/templates/webpages/csv_import/form.html index 5c265094b..0f8ac959d 100644 --- a/templates/webpages/csv_import/form.html +++ b/templates/webpages/csv_import/form.html @@ -1,11 +1,14 @@ -[% USE HTML %][% USE LxERP %][% USE L %] - +[%- 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) %] @@ -23,7 +26,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 +48,128 @@
+

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

+ +
+ [% LxERP.t8("Show help text") %] +
+ + + +
+

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

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