Bug 20515: (follow-up) Add missing CAN_user_ill
This follow up patch adds two missing CAN_user_ill tests in templates Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
3f983c7249
commit
f95c7845fe
|
|
@ -118,7 +118,7 @@
|
|||
[% IF Koha.Preference('HouseboundModule') %]
|
||||
[% IF houseboundview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/housebound.pl?borrowernumber=[% patron.borrowernumber %]">Housebound</a></li>
|
||||
[% END %]
|
||||
[% IF Koha.Preference('ILLModule') %]
|
||||
[% IF Koha.Preference('ILLModule') && CAN_user_ill %]
|
||||
<li><a href="/cgi-bin/koha/ill/ill-requests.pl?borrowernumber=[% patron.borrowernumber %]">Interlibrary loans</a></li>
|
||||
[% END %]
|
||||
</ul></div>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
[% USE Koha %]
|
||||
[% IF Koha.Preference('ILLModule ') %]
|
||||
[% IF Koha.Preference('ILLModule ') && CAN_user_ill %]
|
||||
<div id="toolbar" class="btn-toolbar">
|
||||
[% IF backends_available %]
|
||||
[% IF backends.size > 1 %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue