From 41f3cab1f53b4fddb382a9d4ebd1afa01293baea Mon Sep 17 00:00:00 2001 From: Indranil Das Gupta Date: Thu, 21 May 2015 07:24:28 +0530 Subject: [PATCH] Bug 14240: Add '(All libraries)' to notice deletion form Trivial patch that shows (All libraries) instead of an empty cell for notices that are applicable across all libraries. Test plan ========= 1) Log in to staff client 2) Tools->Notices & slips 3) Add a dummy notice for all libraries -- test code, test description, email - test subject, test content Click Submit 4) Click Delete -- note that the Library column value is blank. 5) Click the no option 6) Apply this patch 7) Click Delete -- note that the Library column value is (All Libraries). 8) run koha qa test tools. Signed-off-by: Mark Tompsett Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt index c20c6b7ad7..1d4bfbca9e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt @@ -448,7 +448,7 @@ $(document).ready(function() { - [% Branches.GetName( letter.branchcode ) %] + [% IF letter.branchcode %][% Branches.GetName( letter.branchcode ) %][% ELSE %](All libraries)[% END %] [% letter.module %] [% letter.code %] [% letter.name %] -- 2.39.5