Bugzilla – Attachment 54582 Details for
Bug 14612
Overdue notice triggers should show branchname instead of branchcode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14612 - Overdue notice triggers should show branchname instead of branchcode
Bug-14612---Overdue-notice-triggers-should-show-br.patch (text/plain), 3.30 KB, created by
Marc Véron
on 2016-08-18 18:28:00 UTC
(
hide
)
Description:
Bug 14612 - Overdue notice triggers should show branchname instead of branchcode
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2016-08-18 18:28:00 UTC
Size:
3.30 KB
patch
obsolete
>From 3957221f020da785bccdd438892c28fb4a775b06 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 18 Aug 2016 13:08:33 -0400 >Subject: [PATCH] Bug 14612 - Overdue notice triggers should show branchname > instead of branchcode >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This patch adds the Branches template plugin to the overdue notice >triggers template so that the library name can be shown instead of the >branchcode. > >Also changed: Updated page title to match the name used in tools menus. > >To test, apply the patch and go to Tools -> Overdue notice/status >triggers. > >- Select a library. >- When the page reloads, the 'Defining overdue actions for...' and > 'Rules for overdue actions: ' headings should show the library name > instead of the branchcode. > >Signed-off-by: Marc Véron <veron@veron.ch> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt >index 4c06846..350b5bc 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt >@@ -1,6 +1,7 @@ > [% USE Koha %] >+[% USE Branches %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Tools › Notice triggers</title> >+<title>Koha › Tools › Overdue notice/status triggers</title> > [% INCLUDE 'doc-head-close.inc' %] > > <script type="text/javascript"> >@@ -25,7 +26,7 @@ $(document).ready(function() { > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > >-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › Notice triggers</div> >+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › Overdue notice/status triggers</div> > > <div id="doc3" class="yui-t2"> > >@@ -33,7 +34,7 @@ $(document).ready(function() { > <div id="yui-main"> > <div class="yui-b"> > >- <h1>Defining [% IF ( branch ) %]overdue actions for [% branch %][% ELSE %]default overdue actions[% END %]</h1> >+ <h1>Defining [% IF ( branch ) %]overdue actions for [% Branches.GetName( branch ) %][% ELSE %]default overdue actions[% END %]</h1> > <div class="help"> > <p>Delay is the number of days after a checkout is due before an action is triggered. </p> > <p>If you want Koha to trigger an action (send a letter or restrict a member), a delay value is required.</p> >@@ -74,7 +75,7 @@ $(document).ready(function() { > <form method="post" action="/cgi-bin/koha/tools/overduerules.pl"> > <input type="hidden" name="op" value="save" /> > <input type="hidden" name="branch" value="[% branch %]" /> >- <h3>Rules for overdue actions: [% IF ( branch ) %][% branch %][% ELSE %] default library [% END %]</h3> >+ <h3>Rules for overdue actions: [% IF ( branch ) %][% Branches.GetName( branch ) %][% ELSE %] default library [% END %]</h3> > [% IF ( datasaved ) %]<div class="dialog message">Changes saved.</div> [% END %] > > <div id="rulestabs" class="toptabs"> >-- >2.1.4
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 14612
:
54581
|
54582
|
54651