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>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit f118addf0f)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
This commit is contained in:
parent
2b3c253708
commit
7fd9119cd8
|
|
@ -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 ) %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue