Lines 57-63
Link Here
|
57 |
[% END %] |
57 |
[% END %] |
58 |
|
58 |
|
59 |
[% IF Koha.Preference('RESTOAuth2ClientCredentials') %] |
59 |
[% IF Koha.Preference('RESTOAuth2ClientCredentials') %] |
60 |
[% IF CAN_user_borrowers_edit_borrowers %] |
60 |
[% IF CAN_user_superlibrarian OR loggedinusernumber == patron.borrowernumber %] |
61 |
<li><a id="apikeys" href="/cgi-bin/koha/members/apikeys.pl?patron_id=[% patron.borrowernumber | html %]">Manage API keys</a></li> |
61 |
<li><a id="apikeys" href="/cgi-bin/koha/members/apikeys.pl?patron_id=[% patron.borrowernumber | html %]">Manage API keys</a></li> |
62 |
[% ELSE %] |
62 |
[% ELSE %] |
63 |
<li class="disabled"><a data-toggle="tooltip" data-placement="left" title="You are not authorized to manage API keys" id="apikeys" href="#">Manage API keys</a></li> |
63 |
<li class="disabled"><a data-toggle="tooltip" data-placement="left" title="You are not authorized to manage API keys" id="apikeys" href="#">Manage API keys</a></li> |