Bugzilla – Attachment 39355 Details for
Bug 14240
Add '(All libraries)' to notice deletion confirmation page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14240 - Add '(All libraries)' to notice deletion form
Bug-14240---Add-All-libraries-to-notice-deletion-f.patch (text/plain), 1.37 KB, created by
Indranil Das Gupta
on 2015-05-21 01:57:42 UTC
(
hide
)
Description:
Bug 14240 - Add '(All libraries)' to notice deletion form
Filename:
MIME Type:
Creator:
Indranil Das Gupta
Created:
2015-05-21 01:57:42 UTC
Size:
1.37 KB
patch
obsolete
>From 9135ff3d0fe60221bbdfafe87c585f91d5eaf38f Mon Sep 17 00:00:00 2001 >From: Indranil Das Gupta <indradg@gmail.com> >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/ Apply the patch > >2/ Attempt to delete a notice that is defined for all libraries > You should be able to see '(All libraries)' in the table cell > instead of a blank cell >--- > 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 3106498..74d3817 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt >@@ -444,7 +444,7 @@ $(document).ready(function() { > </tr> > </thead> > <tr> >- <td>[% Branches.GetName( letter.branchcode ) %]</td> >+ <td>[% IF letter.branchcode %][% Branches.GetName( letter.branchcode ) %][% ELSE %](All libraries)[% END %]</td> > <td>[% letter.module %]</td> > <td>[% letter.code %]</td> > <td>[% letter.name %]</td> >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14240
:
39355
|
39931
|
39960