Bugzilla – Attachment 116479 Details for
Bug 27332
When renewing a serial subscription, show note and library only if RenewSerialAddsSuggestion is used
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27332: Hide branchcode and note is RenewSerialAddsSuggestion if off
Bug-27332-Hide-branchcode-and-note-is-RenewSerialA.patch (text/plain), 2.62 KB, created by
Katrin Fischer
on 2021-02-07 19:33:27 UTC
(
hide
)
Description:
Bug 27332: Hide branchcode and note is RenewSerialAddsSuggestion if off
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2021-02-07 19:33:27 UTC
Size:
2.62 KB
patch
obsolete
>From 0b1c5a8f8263d3747160a134d0714c31c775990a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 5 Jan 2021 09:54:54 +0100 >Subject: [PATCH] Bug 27332: Hide branchcode and note is > RenewSerialAddsSuggestion if off > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../prog/en/modules/serials/subscription-renew.tt | 34 +++++++++++++--------- > 1 file changed, 21 insertions(+), 13 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-renew.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-renew.tt >index 614a21afc4..f3f8c16d09 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-renew.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-renew.tt >@@ -1,3 +1,4 @@ >+[% USE Koha %] > [% USE Branches %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >@@ -59,20 +60,27 @@ > <input type="hidden" name="issuelengthcount"> > </li> > >- <li><label for="branchcode">Library:</label> >- <select name="branchcode" id="branchcode" style="width: 20em;"> >- [% UNLESS ( Independentbranches ) %] >- <option value="">None</option> >- [% END %] >- [% IF CAN_user_serials_superserials %] >- [% PROCESS options_for_libraries libraries => Branches.all(selected => subscription.branchcode) %] >- [% END %] >- </select> (select a library) >- </li> >+ [% IF Koha.Preference('RenewSerialAddsSuggestion') %] >+ <li> >+ <label for="branchcode">Library:</label> >+ <select name="branchcode" id="branchcode" style="width: 20em;"> >+ [% UNLESS ( Independentbranches ) %] >+ <option value="">None</option> >+ [% END %] >+ [% IF CAN_user_serials_superserials %] >+ [% PROCESS options_for_libraries libraries => Branches.all(selected => subscription.branchcode) %] >+ [% END %] >+ </select> (select a library) >+ </li> > >- <li><label for="note">Note for the librarian that will manage your renewal request: </label> >- <textarea name="note" id="note" rows="5" cols="50"></textarea></li></ol></fieldset> >- <fieldset class="action"><input type="submit" value="Submit" class="button" /></fieldset> >+ <li> >+ <label for="note">Note for the librarian that will manage your renewal request: </label> >+ <textarea name="note" id="note" rows="5" cols="50"></textarea> >+ </li> >+ [% END %] >+</ol> >+</fieldset> >+<fieldset class="action"><input type="submit" value="Submit" class="button" /></fieldset> > </form> > [% END %] > >-- >2.11.0
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 27332
:
114834
|
114854
|
116479
|
116480
|
116481
|
117167
|
117168