Bugzilla – Attachment 76516 Details for
Bug 17869
Don't show pick-up library for list of holds in OPAC account when there is only one branch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17869: Don't show pick-up library for list of holds in OPAC account when there is only one branch
Bug-17869-Dont-show-pick-up-library-for-list-of-ho.patch (text/plain), 3.12 KB, created by
Josef Moravec
on 2018-06-27 14:18:01 UTC
(
hide
)
Description:
Bug 17869: Don't show pick-up library for list of holds in OPAC account when there is only one branch
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2018-06-27 14:18:01 UTC
Size:
3.12 KB
patch
obsolete
>From b870e23472523a0d0eae13917a8a610d9dbcc804 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 18 Jun 2018 18:29:57 +0000 >Subject: [PATCH] Bug 17869: Don't show pick-up library for list of holds in > OPAC account when there is only one branch > >This patch modifies the user summary page in the OPAC so that the >"pick up location" column isn't shown in the table of holds if there is >only one library defined. > >To test, apply the patch and log into the OPAC as a user with one or >more holds. > > - In a system with more than one library defined the "Holds" tab of > opac-user.pl should show a "Pick up location" column. > > - In a system with only one library defined there should be now "Pick > up location" column. > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 14 +++++++++----- > 1 file changed, 9 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >index 85680af..134ea41 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >@@ -579,7 +579,9 @@ > <th class="anti-the">Title</th> > <th class="psort title-string">Placed on</th> > <th class="title-string">Expires on</th> >- <th>Pick up location</th> >+ [% UNLESS( singleBranchMode) %] >+ <th>Pick up location</th> >+ [% END %] > [% IF ( showpriority ) %] > <th>Priority</th> > [% END %] >@@ -638,10 +640,12 @@ > <span title="0000-00-00">-</span> > [% END %] > </td> >- <td class="branch"> >- <span class="tdlabel">Pick up location:</span> >- [% RESERVE.branch.branchname %] >- </td> >+ [% UNLESS( singleBranchMode) %] >+ <td class="branch"> >+ <span class="tdlabel">Pick up location:</span> >+ [% RESERVE.branch.branchname %] >+ </td> >+ [% END %] > [% IF ( showpriority ) %] > <td class="priority"> > <span class="tdlabel">Priority:</span> >-- >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 17869
:
70541
|
72763
|
72805
|
76146
|
76252
| 76516