X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcsv_import%2F_preview.html;h=01fe4d9ff2eff2ec2c3faf41eb8a750e199c8195;hb=504fcaf11d8cbf10f353fb22990f559b36f5478c;hp=08997b9453290153652f72e65f2399eabc0f6708;hpb=35948584de818b00974b9dab65682c4d5ceba67f;p=kivitendo-erp.git 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 %]