Bug 13584: (follow-up) Able to view menu for Purchase Suggestions 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
4c68cebdef
commit
e8d283172b
1 changed files with 3 additions and 1 deletions
|
@ -82,7 +82,9 @@ in the global namespace %]
|
||||||
[% IF EnableBorrowerFiles %]
|
[% 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>
|
[% IF ( borrower_files ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/files.pl?borrowernumber=[% borrower.borrowernumber %]">Files</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( suggestionsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/purchase-suggestions.pl?borrowernumber=[% borrower.borrowernumber %]">Purchase<br/>suggestions</a></li>
|
[% IF ( CAN_user_borrowers ) %]
|
||||||
|
[% IF ( suggestionsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/purchase-suggestions.pl?borrowernumber=[% borrower.borrowernumber %]">Purchase<br/>suggestions</a></li>
|
||||||
|
[% END %]
|
||||||
</ul></div>
|
</ul></div>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue