From 0f7b89633ed9e5be611a4d6c981bf3065670ba1a Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 3 Apr 2014 08:38:08 -0400 Subject: [PATCH] Bug 12034: standardize alerts referring to lists and list items The staff client lists template contains a warning which differs from the same warning in the OPAC. The OPAC version is correct because it refers to a list rather than a shelf. This patch copies the OPAC version to the staff client template. This patch also corrects a few of other instances where the incorrect term "shelf" is used. To test, apply the patch and view a list in the staff client which is populated with items. Check the box next to one or more items on the list and click the "Remove selected" button. You should see the message, "Are you sure you want to remove these items from the list?" Signed-off-by: Bernardo Gonzalez Kriegel Work as described, no koha-qa errors Signed-off-by: Jonathan Druart Signed-off-by: Galen Charlton --- .../prog/en/modules/virtualshelves/shelves.tt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt index aca9485385..05f28f1a02 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt @@ -9,7 +9,7 @@ //A List named [% paramsloo.already %] already exists![% END %] [% IF ( paramsloo.status ) %]
[% paramsloo.string %]
[% END %] [% IF ( paramsloo.nobarcode ) %]
ERROR: No barcode given.
[% END %] - [% IF ( paramsloo.noshelfnumber ) %]
ERROR: No shelfnumber given.
[% END %] + [% IF ( paramsloo.noshelfnumber ) %]
ERROR: No list number given.
[% END %] [% IF ( paramsloo.need_confirm ) %]
The list [% paramsloo.need_confirm %] is not empty.
It has [% paramsloo.count %] entries. @@ -247,10 +247,10 @@ function placeHold () {
A record matching barcode [% paramsloo.duplicatebiblio %] has already been added.
[% END %] [% IF ( paramsloo.nothingdeleted) %] -
Warning: You could not delete any selected items from this shelf.
+
Warning: You could not delete any of the selected items from this list.
[% END %] [% IF ( paramsloo.somedeleted) %] -
Warning: You could not delete all selected items from this shelf.
+
Warning: You could not delete all selected items from this list.
[% END %] [% IF ( paramsloo.modifyfailure) %]
ERROR: List could not be modified.
-- 2.20.1