X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/0389fbc606e78cdacea36f4bf385e75f879443a2..f87763cd84d89aafc4c4110ba42d041b02ce4371:/templates/webpages/csv_import/_preview.html diff --git a/templates/webpages/csv_import/_preview.html b/templates/webpages/csv_import/_preview.html new file mode 100644 index 000000000..323fdb483 --- /dev/null +++ b/templates/webpages/csv_import/_preview.html @@ -0,0 +1,35 @@ +[% 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 %] + + + [%- FOREACH column = SELF.headers.headers %] + + [%- END %] + + + + [%- FOREACH row = SELF.data %] + + [%- FOREACH method = SELF.headers.methods %] + + [%- END %] + + + [%- END %] + +
[%- HTML.escape(column) %][%- LxERP.t8('Notes') %]
[%- HTML.escape(row.object.$method) %] + [%- FOREACH error = row.errors %][%- HTML.escape(error) %][% UNLESS loop.last %]
[%- END %][%- END %] +
+[%- END %]