Bugzilla – Attachment 46828 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.56 KB, created by
Briana Greally
on 2016-01-18 22:39:04 UTC
(
hide
)
Description:
Bug 15571 reserveforothers permission does not remove Search to hold button from patron account
Filename:
MIME Type:
Creator:
Briana Greally
Created:
2016-01-18 22:39:04 UTC
Size:
1.56 KB
patch
obsolete
>From 0df4d3d07ba0c3aeddaa4988910cf861214a0109 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 >--- > 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..e0422b8 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 ) %] >-- >1.7.10.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