X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/a60b31d79b1ec87fbb804d53a4bf09186eda8ea3..e7a7492e:/templates/webpages/csv_import/report.html diff --git a/templates/webpages/csv_import/report.html b/templates/webpages/csv_import/report.html index 51d4eb23c..ab1cae0cf 100644 --- a/templates/webpages/csv_import/report.html +++ b/templates/webpages/csv_import/report.html @@ -1,12 +1,25 @@ [% USE HTML %] [% USE LxERP %] [% USE L %] -

[%- LxERP.t8('Import result') %]

+

+ [%- IF SELF.report.test_mode %] + [%- LxERP.t8('Import preview') %] + [%- ELSE %] + [%- LxERP.t8('Import result') %] + [%- END %] +

+ +[%- IF SELF.report.test_mode %] +

+ [% LxERP.t8("The following is only a preview.") %] + [% LxERP.t8("No entries have been imported yet.") %] +

+[%- END %] [%- PROCESS 'common/paginate.html' pages=SELF.pages, base_url = SELF.base_url %] [%- FOREACH rownum = SELF.display_rows %] - [%- IF loop.first %] + [%- IF rownum < SELF.report_numheaders %] [%- FOREACH value = SELF.report_rows.${rownum} %] @@ -21,7 +34,7 @@ [%- END %] [%- END %] @@ -32,5 +45,5 @@ [%- PROCESS 'common/paginate.html' pages=SELF.pages, base_url = SELF.base_url %]
[% value | html %] [%- FOREACH error = csv_import_report_errors %][%- error | html %][% UNLESS loop.last %]
[%- END %][%- END %] - [%- FOREACH info = SELF.report_status.${rownum}.information %][% IF !loop.first || csv_import_report_errors.size %]
[%- END %][%- info | html %][%- END %] + [%- FOREACH info = SELF.report_status.${rownum}.information %][% IF rownum >= SELF.report_numheaders || csv_import_report_errors.size %]
[%- END %][%- info | html %][%- END %]