X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/f87763cd84d89aafc4c4110ba42d041b02ce4371..72b340de2352eec7d3f99a00e2141a2df35f07f3:/templates/webpages/csv_import/_preview.html diff --git a/templates/webpages/csv_import/_preview.html b/templates/webpages/csv_import/_preview.html index 323fdb483..fe088e25e 100644 --- a/templates/webpages/csv_import/_preview.html +++ b/templates/webpages/csv_import/_preview.html @@ -1,32 +1,43 @@ [% USE HTML %] [% USE LxERP %] -

- [%- IF SELF.import_status == 'tested' %] - [%- LxERP.t8('Import preview') %] - [%- ELSE %] - [%- LxERP.t8('Import result') %] - [%- END %] -

- -

[%- LxERP.t8('Found #1 objects to import.', SELF.data.size || 0) %]

- [% IF SELF.data.size %] +

+ [%- IF SELF.import_status == 'tested' %] + [%- LxERP.t8('Import preview') %] + [%- ELSE %] + [%- LxERP.t8('Import result') %] + [%- END %] +

+ + [%- FOREACH column = SELF.info_headers.headers %] + + [%- END %] [%- FOREACH column = SELF.headers.headers %] [%- END %] + [%- FOREACH column = SELF.raw_data_headers.headers %] + + [%- END %] [%- FOREACH row = SELF.data %] + [%- FOREACH method = SELF.info_headers.methods %] + + [%- END %] [%- FOREACH method = SELF.headers.methods %] [%- END %] + [%- FOREACH method = SELF.raw_data_headers.headers %] + + [%- END %] [%- END %]
[%- HTML.escape(column) %][%- HTML.escape(column) %][%- HTML.escape(column) %][%- LxERP.t8('Notes') %]
[%- HTML.escape(row.info_data.$method) %][%- HTML.escape(row.object.$method) %][%- HTML.escape(row.raw_data.$method) %] [%- FOREACH error = row.errors %][%- HTML.escape(error) %][% UNLESS loop.last %]
[%- END %][%- END %] + [%- FOREACH info = row.information %][% IF !loop.first || row.errors.size %]
[%- END %][%- HTML.escape(info) %][%- END %]