[Koha-devel] Improving usability of Tools > Upload feature w/ Copy Link button
dcook at prosentient.com.au
dcook at prosentient.com.au
Thu May 14 04:43:56 CEST 2020
Hi all,
Just sharing that I've posted a patch that adds a "Copy link" button the
Tools > Upload feature, which makes it easier to link to files that have
been uploaded into Koha.
For example, uploading a photo of the library via "Tools > Upload" and then
copying the link and pasting it into OpacMainuserBlock in an img element.
The patch shows the file URL in a modal so you can manually copy and paste,
plus it uses feature detection to see if it can use the Clipboard API
(available in modern browsers like Chrome, Firefox, Edge - but not newer IE)
to just copy it directly to your browser clipboard.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25475
Would love to get some feedback on this one.
David Cook
Systems Librarian
Prosentient Systems
72/330 Wattle St
Ultimo, NSW 2007
Australia
Office: 02 9212 0899
Online: 02 8005 0595
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20200514/8cd83b37/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 484 bytes
Desc: not available
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20200514/8cd83b37/attachment.sig>
More information about the Koha-devel
mailing list