@@ -, +, @@
---
.../prog/en/modules/tools/batchMod-del.tt | 35 +++++++++++--------
tools/batchMod.pl | 10 +++++-
2 files changed, 30 insertions(+), 15 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt
@@ -51,11 +51,6 @@
[% END %]
- [% UNLESS ( too_many_items_display ) %]
- [% IF ( item_loop ) %]
-
The following barcodes were found:
- [% END %]
- [% END %]
[% END %]
[% IF ( notfounditemnumbers.size ) %]
@@ -71,14 +66,27 @@
[% END %]
- [% UNLESS ( too_many_items_display ) %]
- [% IF ( item_loop ) %]
-
The following itemnumbers were found:
- [% END %]
- [% END %]
[% END %]
+ [% IF cannot_be_deleted.size %]
+
+
Warning, the following items cannot be deleted:
+
+
+
+ Cannot be deleted |
+
+
+ [% FOREACH barcode IN cannot_be_deleted %]
+ [% barcode | html %] |
+ [% END %]
+
+
+ [% END %]
+ [% IF ( notfoundbarcodes.size || notfounditemnumbers.size || cannot_be_deleted.size ) && !too_many_items_display && item_loop %]
+
The following barcodes were found:
+ [% END %]