From f95c7845fecaefd6e7c2fd68f2381710f1ebc7a4 Mon Sep 17 00:00:00 2001 From: Andrew Isherwood Date: Fri, 13 Apr 2018 11:41:37 +0100 Subject: [PATCH] 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 Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc | 2 +- koha-tmpl/intranet-tmpl/prog/en/includes/ill-toolbar.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc index 3be3942640..dcdf1ccc87 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc @@ -118,7 +118,7 @@ [% IF Koha.Preference('HouseboundModule') %] [% IF houseboundview %]
  • [% ELSE %]
  • [% END %]Housebound
  • [% END %] - [% IF Koha.Preference('ILLModule') %] + [% IF Koha.Preference('ILLModule') && CAN_user_ill %]
  • Interlibrary loans
  • [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/ill-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/ill-toolbar.inc index b747ee030b..d725e26a56 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/ill-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/ill-toolbar.inc @@ -1,5 +1,5 @@ [% USE Koha %] -[% IF Koha.Preference('ILLModule ') %] +[% IF Koha.Preference('ILLModule ') && CAN_user_ill %]
    [% IF backends_available %] [% IF backends.size > 1 %] -- 2.39.5