Bugzilla – Attachment 47210 Details for
Bug 15571
reserveforothers permission does not remove Search to hold button from patron account
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15571 reserveforothers permission does not remove Search to hold button from patron account
Bug-15571-reserveforothers-permission-does-not-rem.patch (text/plain), 1.70 KB, created by
Kyle M Hall (khall)
on 2016-01-22 17:41:22 UTC
(
hide
)
Description:
Bug 15571 reserveforothers permission does not remove Search to hold button from patron account
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2016-01-22 17:41:22 UTC
Size:
1.70 KB
patch
obsolete
>From 86b31588c0a01cd9b1f8c94b1f5a5c4c57066a0f Mon Sep 17 00:00:00 2001 >From: Briana <brianagreally@gmail.com> >Date: Mon, 18 Jan 2016 22:32:14 +0000 >Subject: [PATCH] Bug 15571 reserveforothers permission does not remove Search > to hold button from patron account > >To Test: >1. Create a user without 'reserveforothers' permission >2. Go onto user details >3. 'Search to hold' button should not be there >4. Create a user with 'reserveforothers' permission >5. Repeat steps >6. 'Search to Hold' button should be there > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >Signed-off-by: Briana <brianagreally@gmail.com> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc >index 641bbad..f3bcd76 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc >@@ -165,8 +165,12 @@ function searchToHold(){ > [% END %] > </ul> > </div> >- <a id="searchtohold" class="btn btn-small" href="#"><i class="fa fa-search"></i> Search to hold</a> >- <div class="btn-group"> >+ >+ [% IF ( CAN_user_reserveforothers ) %] >+ <a id="searchtohold" class="btn btn-small" href="#"><i class="fa fa-search"></i> Search to hold</a> >+ [% END %] >+ >+ <div class="btn-group"> > <button class="btn btn-small dropdown-toggle" data-toggle="dropdown">More <span class="caret"></span></button> > <ul class="dropdown-menu"> > [% IF ( CAN_user_borrowers ) %] >-- >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 15571
:
46828
|
46995
|
47054
| 47210 |
47211