Bugzilla – Attachment 105850 Details for
Bug 25735
Add distinct classes for clear history (.clearsh) links on OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25735: Add seperate classes for each clearsh button
Bug-25735-Add-seperate-classes-for-each-clearsh-bu.patch (text/plain), 2.91 KB, created by
Lucas Gass (lukeg)
on 2020-06-12 20:10:24 UTC
(
hide
)
Description:
Bug 25735: Add seperate classes for each clearsh button
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2020-06-12 20:10:24 UTC
Size:
2.91 KB
patch
obsolete
>From 028f6f0b32b1aa48a64f6ddc9131b4ab43b81895 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 12 Jun 2020 20:06:31 +0000 >Subject: [PATCH] Bug 25735: Add seperate classes for each clearsh button > >TEST PLAN: >1. Apply patch >2. Add these two lines to the OPACUserCSS: > .clearsh-one {color:green !important;} > .clearsh-two {color:red !important;} >3. Refresh OPAC and be logged out, the "Clear" button in the top right should now be green. >4. Refresh OPAC and be logged in, the "Clear" button inside the dropdown on the top right should be red. >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >index 88dd9a9255..d85a140a56 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >@@ -118,7 +118,7 @@ > <p class="search_history"> > <a tabindex="-1" role="menuitem" class="login-link" href="/cgi-bin/koha/opac-search-history.pl" title="View your search history">Search history</a> > <span class="divider-vertical"></span> >- <a class="logout clearsh" href="/cgi-bin/koha/opac-search-history.pl?action=delete" title="Delete your search history"><i class="fa fa-trash" aria-hidden="true"></i> Clear</a> >+ <a class="logout clearsh clearsh-two" href="/cgi-bin/koha/opac-search-history.pl?action=delete" title="Delete your search history"><i class="fa fa-trash" aria-hidden="true"></i> Clear</a> > </p> > [% END %] > <p> >@@ -135,7 +135,7 @@ > <li class="search_history"> > <a href="/cgi-bin/koha/opac-search-history.pl" title="View your search history">Search history</a> > <span class="divider-vertical"></span> >- <a class="logout clearsh" href="/cgi-bin/koha/opac-search-history.pl?action=delete" title="Delete your search history"><i class="fa fa-trash" aria-hidden="true"></i> Clear</a> >+ <a class="logout clearsh clearsh-one" href="/cgi-bin/koha/opac-search-history.pl?action=delete" title="Delete your search history"><i class="fa fa-trash" aria-hidden="true"></i> Clear</a> > </li> > [% END %] > [% END %] >-- >2.11.0
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 25735
: 105850