Bugzilla – Attachment 103679 Details for
Bug 25211
Missing share icon on OPAC lists page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25211: Add missing share icon to OPAC lists page
Bug-25211-Add-missing-share-icon-to-OPAC-lists-pag.patch (text/plain), 2.08 KB, created by
Jonathan Druart
on 2020-04-24 13:05:51 UTC
(
hide
)
Description:
Bug 25211: Add missing share icon to OPAC lists page
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-04-24 13:05:51 UTC
Size:
2.08 KB
patch
obsolete
>From ad23d154a1c7a600a17f88e341cb601644508049 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 20 Apr 2020 11:38:41 +0000 >Subject: [PATCH] Bug 25211: Add missing share icon to OPAC lists page > >This patch adds a Font Awesome icon to the "Share" links on the list of >lists in the OPAC. > >To test, apply the patch and log in to the OPAC as a user who has one >or more private lists. > > - Go to Lists -> Your lists > - In the table of your lists, each list should have a "Share" link > with an icon. > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Don't forget to enable OpacAllowSharingPrivateLists >Works ok > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >index 4673581146..92b20baeef 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >@@ -696,7 +696,7 @@ > </form> > [% END %] > [% IF s.is_private AND s.can_be_managed( loggedinusernumber ) AND Koha.Preference('OpacAllowSharingPrivateLists') %] >- <a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% s.shelfnumber | uri %]" class="sharelist">Share</a> >+ <a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% s.shelfnumber | uri %]" class="sharelist"><i class="fa fa-share"></i> Share</a> > [% END %] > [% IF s.is_shared_with( loggedinusernumber ) %] > <form action="opac-shelves.pl" method="post" class="form-inline"> >-- >2.20.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 25211
:
103280
|
103315
| 103679