From 538a76f0ad598ca45c7678cc2f3494980e3ebd7d Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Sun, 15 Dec 2019 13:16:20 +0000 Subject: [PATCH] Bug 24247: Button fixes for OPAC lists pages This patch makes minor markup changes to the OPAC lists page so that link and form controls are styled consistently. To test you should have virtualshelves and OpacAllowSharingPrivateLists enabled. - Apply the patch and log in to the OPAC. - Create a new private list. - When you view the list of your private lists, the "Share" link should have a Font Awesome icon. - View the contents of your list. The "Share" link in the list toolbar should have the same icon. The "New list" link should have a + icon. --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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 f72c3cf625b..6edd9312b35 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt @@ -189,7 +189,7 @@ [% IF category == PRIVATE && Koha.Preference('OpacAllowSharingPrivateLists') %] - Share list + Share list [% END %] [% ELSIF category == PRIVATE # not manageshelf and private means shared %]
@@ -513,22 +513,21 @@ [% ELSE %]
- New list + New list [% IF can_manage_shelf %] - | - +
- +
[% END %]
@@ -718,7 +717,7 @@ [% END %] [% IF s.is_private AND s.can_be_managed( loggedinusernumber ) AND Koha.Preference('OpacAllowSharingPrivateLists') %] - Share + Share [% END %] [% IF s.is_shared_with( loggedinusernumber ) %]
@@ -726,7 +725,7 @@ - +
[% END %]  -- 2.11.0