From ba02e09e6d129718c7e4aafb8d92f488ae1e1f39 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 19 Jan 2015 14:09:52 +0100 Subject: [PATCH] Bug 13583: (follow-up) Able to view menu for Statistics even when user does not have permission Same changes as the previous patch, for the .tt file. Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt index a9fde3c01f..2a1da6b662 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt @@ -81,7 +81,9 @@ in the global namespace %] [% IF ( EnhancedMessagingPreferences ) %] [% IF ( sentnotices ) %]
  • [% ELSE %]
  • [% END %]Notices
  • [% END %] - [% IF ( statisticsview ) %]
  • [% ELSE %]
  • [% END %]Statistics
  • + [% IF ( CAN_user_borrowers ) %] + [% IF ( statisticsview ) %]
  • [% ELSE %]
  • [% END %]Statistics
  • + [% END %] [% IF EnableBorrowerFiles %] [% IF ( borrower_files ) %]
  • [% ELSE %]
  • [% END %]Files
  • [% END %] -- 2.39.2