epic-ts
[kivitendo-erp.git] / templates / webpages / csv_import / _result.html
index bc0daae..b67bb7f 100644 (file)
@@ -2,4 +2,8 @@
 
 <h3>[%- LxERP.t8('Import summary') %]</h3>
 
-<p>[%- LxERP.t8('#1 objects were imported.', SELF.data.size || 0) %]</p>
+[%- 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 %]