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:
Andrew Isherwood 2018-04-13 11:41:37 +01:00 committed by Jonathan Druart
parent 3f983c7249
commit f95c7845fe
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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 %]