[% USE HTML %]
[% USE LxERP %]
[% USE L %]
- <h3>[%- LxERP.t8('Import result') %]</h3>
+ <h2>
+ [%- IF SELF.report.test_mode %]
+ [%- LxERP.t8('Import preview') %]
+ [%- ELSE %]
+ [%- LxERP.t8('Import result') %]
+ [%- END %]
+</h2>
+
+[%- IF SELF.report.test_mode %]
+ <p>
+ [% LxERP.t8("The following is only a preview.") %]
+ [% LxERP.t8("No entries have been imported yet.") %]
+ </p>
+[%- END %]
[%- PROCESS 'common/paginate.html' pages=SELF.pages, base_url = SELF.base_url %]
<table>
[%- PROCESS 'common/paginate.html' pages=SELF.pages, base_url = SELF.base_url %]
<script type='text/javascript'>
- $(function(){ $('#action_import').show() });
+ $(function(){ [%- IF SELF.reporterror %] kivi.clear_flash('info',0);kivi.display_flash('error','[% SELF.reporterror %]',0); [%- ELSE %][%- IF SELF.report.test_mode %] $('#action_import').show() [%- END %][%- END %] });
</script>