Bugzilla – Attachment 120416 Details for
Bug 27594
Add access to public download link for publicly-accessible uploads
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27594: (follow-up) don't display "Copy link[...]" when not possible
Bug-27594-follow-up-dont-display-Copy-link-when-no.patch (text/plain), 1.37 KB, created by
Victor Grousset/tuxayo
on 2021-05-03 20:46:19 UTC
(
hide
)
Description:
Bug 27594: (follow-up) don't display "Copy link[...]" when not possible
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2021-05-03 20:46:19 UTC
Size:
1.37 KB
patch
obsolete
>From c40d277682ea57b4fc719d696c05a8d2486448d1 Mon Sep 17 00:00:00 2001 >From: Victor Grousset/tuxayo <victor@tuxayo.net> >Date: Mon, 3 May 2021 22:42:15 +0200 >Subject: [PATCH] Bug 27594: (follow-up) don't display "Copy link[...]" when > not possible > >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt >index 5de1586850..7a657ab980 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt >@@ -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 %] >-- >2.31.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 27594
:
116218
|
116219
|
117289
|
117310
|
119241
|
119304
|
119305
|
119398
|
119906
|
119995
|
119996
|
119997
| 120416