From af495b93c72f275c58ae2bc7cd9a2280648449d7 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 3 Dec 2019 10:58:57 +0100 Subject: [PATCH] Bug 8132: Adding message when deleting from the UI Signed-off-by: Kelly McElligott Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Marcel de Rooy Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt index eaef5c682e..463edf4e08 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt @@ -41,6 +41,7 @@ [% IF ( book_reserved ) %]
Cannot delete: item has a waiting hold.
[% END %] [% IF ( not_same_branch ) %]
Cannot delete: The items do not belong to your library.
[% END %] [% IF ( linked_analytics ) %]
Cannot delete: item has linked analytics..
[% END %] +[% IF last_item_for_hold %]
Cannot delete: Last item for bibliographic record wich biblio-level hold on it.
[% END %]
[% IF ( item_loop ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt index 207599881c..283ef381ef 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt @@ -109,8 +109,6 @@ $(document).ready(function(){ [% END %] [% IF ( barcode_not_unique ) %]
Error saving item: Barcode must be unique.
[% END %] [% IF ( no_next_barcode ) %]
Error saving items: Unable to automatically determine values for barcodes. No item has been inserted.
[% END %] -[% IF ( book_on_loan ) %]
Cannot Delete: item is checked out.
[% END %] -[% IF ( book_reserved ) %]
Cannot Delete: item has a waiting hold.
[% END %] [% IF ( notfoundbarcodes.size ) %]

Warning, the following barcodes were not found:

-- 2.39.5