]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/csv_import/_result.html
Refactoring: Parameterredesign SL::Controller::Base::render und SL::Presenter::render
[mfinanz.git] / templates / webpages / csv_import / _result.html
index 089651837bd7643490b74b4fc5e960aad16f6c34..b67bb7fbc69f01f38a3cdb9295da9421ee2e8a6c 100644 (file)
@@ -1,3 +1,9 @@
 [% USE LxERP %]
 
-<p>[%- LxERP.t8('Found #1 objects to import.', SELF.data.size || 0) %]</p>
+<h3>[%- LxERP.t8('Import summary') %]</h3>
+
+[%- IF SELF.import_status == 'imported' %]
+ <p>[%- LxERP.t8('#1 of #2 importable objects were imported.', SELF.num_imported, SELF.num_importable || 0) %]</p>
+[%- ELSE %]
+ <p>[%- LxERP.t8('Found #1 objects of which #2 can be imported.', SELF.data.size || 0, SELF.num_importable || 0) %]</p>
+[%- END %]