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 commitf118addf0f) Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> (cherry picked from commit7fd9119cd8) Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
This commit is contained in:
parent
d877c78fff
commit
2d2824976c
|
|
@ -156,8 +156,12 @@ function searchToHold(){
|
|||
<li><a id="printquickslip" href="#">Print quick slip</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="searchtohold" class="btn btn-small" href="#"><i class="icon-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