Bug 27594: (follow-up) don't display "Copy link[...]" when not possible
authorVictor Grousset/tuxayo <victor@tuxayo.net>
Mon, 3 May 2021 20:42:15 +0000 (22:42 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 7 May 2021 12:44:00 +0000 (14:44 +0200)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt

index 5de15868503195326bd7c20e8207b709a634e222..7a657ab9804c2a09ad983aa32c6618b5630869d2 100644 (file)
         [% 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 %]