X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/35948584de818b00974b9dab65682c4d5ceba67f..c954dea7c1b814d66b8c31d04fa70a1bbbcce71e:/templates/webpages/csv_import/_preview.html diff --git a/templates/webpages/csv_import/_preview.html b/templates/webpages/csv_import/_preview.html index 08997b945..01fe4d9ff 100644 --- a/templates/webpages/csv_import/_preview.html +++ b/templates/webpages/csv_import/_preview.html @@ -12,6 +12,9 @@ + [%- FOREACH column = SELF.info_headers.headers %] + + [%- END %] [%- FOREACH column = SELF.headers.headers %] [%- END %] @@ -22,7 +25,11 @@ [%- FOREACH row = SELF.data %] + [%- IF (SELF.profile.get('full_preview') == 2) || ((SELF.profile.get('full_preview') == 1) && (row.errors.size || row.information.size)) || ((SELF.profile.get('full_preview') == 0) && (loop.count < 21)) %] + [%- FOREACH method = SELF.info_headers.methods %] + + [%- END %] [%- FOREACH method = SELF.headers.methods %] [%- END %] @@ -31,9 +38,11 @@ [%- END %] [%- END %] + [%- END %]
[%- HTML.escape(column) %][%- HTML.escape(column) %]
[%- HTML.escape(row.info_data.$method) %][%- HTML.escape(row.object.$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 %]
[%- END %]