From 8571b5f0a47e86978c4df8c0d47e4a8b8e0994cb 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. --- 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 aead23b..d30fea1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt @@ -78,7 +78,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.1.0