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 <tomascohen@gmail.com>
This commit is contained in:
parent
b57d9af154
commit
ba02e09e6d
1 changed files with 3 additions and 1 deletions
|
@ -81,7 +81,9 @@ in the global namespace %]
|
|||
[% IF ( EnhancedMessagingPreferences ) %]
|
||||
[% IF ( sentnotices ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% borrower.borrowernumber %]">Notices</a></li>
|
||||
[% END %]
|
||||
[% IF ( statisticsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/statistics.pl?borrowernumber=[% borrower.borrowernumber %]">Statistics</a></li>
|
||||
[% IF ( CAN_user_borrowers ) %]
|
||||
[% IF ( statisticsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/statistics.pl?borrowernumber=[% borrower.borrowernumber %]">Statistics</a></li>
|
||||
[% END %]
|
||||
[% IF EnableBorrowerFiles %]
|
||||
[% IF ( borrower_files ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/files.pl?borrowernumber=[% borrower.borrowernumber %]">Files</a></li>
|
||||
[% END %]
|
||||
|
|
Loading…
Reference in a new issue