From 7fd7d7ca445f76b9b0648d25b11ccdf3bc4aaba9 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. Signed-off-by: Michal Denar --- 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 8ae4401d7b..3140ce9a8e 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 %]
@@ -529,22 +529,21 @@ [% ELSE %]
- New list + New list [% IF can_manage_shelf %] - | - +
- +
[% END %]
@@ -733,7 +732,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 ) %]
@@ -741,7 +740,7 @@ - +
[% END %]  -- 2.11.0