Bugzilla – Attachment 74154 Details for
Bug 20515
"ILL Request" menu options displayed when user has no ILL permissions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20515: (follow-up) Add missing CAN_user_ill
Bug-20515-follow-up-Add-missing-CANuserill.patch (text/plain), 1.80 KB, created by
Andrew Isherwood
on 2018-04-13 10:45:46 UTC
(
hide
)
Description:
Bug 20515: (follow-up) Add missing CAN_user_ill
Filename:
MIME Type:
Creator:
Andrew Isherwood
Created:
2018-04-13 10:45:46 UTC
Size:
1.80 KB
patch
obsolete
>From 52df7e24848fea98eb72a841c92eaf54256e971b Mon Sep 17 00:00:00 2001 >From: Andrew Isherwood <andrew.isherwood@ptfs-europe.com> >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 >--- > 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 %]<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> >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 %] > <div id="toolbar" class="btn-toolbar"> > [% IF backends_available %] > [% IF backends.size > 1 %] >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20515
:
73615
|
73643
|
73875
|
74065
|
74066
|
74067
|
74068
|
74154
|
74194
|
74195