Bug 27594: (follow-up) don't display "Copy link[...]" when not possible
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
3d10b9f16f
commit
34858be035
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@
|
|||
[% IF !plugin %]
|
||||
<td>
|
||||
[% IF record.public %]
|
||||
<a href="[% Koha.Preference('OPACBaseURL') | url %]/cgi-bin/koha/opac-retrieve-file.pl?id=[% record.hashvalue | uri %]" class="get-file" data-toggle="tooltip" title="Copy link to this file"><i class="fa fa-link" aria-hidden="true"></i> Yes</a>
|
||||
<a href="[% Koha.Preference('OPACBaseURL') | url %]/cgi-bin/koha/opac-retrieve-file.pl?id=[% record.hashvalue | uri %]" class="get-file" data-toggle="tooltip"><i class="fa fa-link" aria-hidden="true"></i> Yes</a>
|
||||
[% ELSE %]
|
||||
No
|
||||
[% END %]
|
||||
|
|
Loading…
Reference in a new issue