Bugzilla – Attachment 94012 Details for
Bug 23803
Add Font Awesome icon to cart in staff interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23803: Add Font Awesome icon to cart in staff interface
Bug-23803-Add-Font-Awesome-icon-to-cart-in-staff-i.patch (text/plain), 2.01 KB, created by
Nick Clemens (kidclamp)
on 2019-10-11 12:41:00 UTC
(
hide
)
Description:
Bug 23803: Add Font Awesome icon to cart in staff interface
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2019-10-11 12:41:00 UTC
Size:
2.01 KB
patch
obsolete
>From b1cf6788c44d16d00bfa72e9505d8e94179d3f31 Mon Sep 17 00:00:00 2001 >From: Claire Gravely <claire.gravely@bsz-bw.de> >Date: Fri, 11 Oct 2019 12:23:09 +0000 >Subject: [PATCH] Bug 23803: Add Font Awesome icon to cart in staff interface > >This patch adds the font awesome icon to the cart in the staff >interface. > >To test: > >1. Apply patch and run yarn build (see: > https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client) > >2. Check that the old cart icon no longer displays and the new font > awesome icon is positioned correctly > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 5 ++++- > koha-tmpl/intranet-tmpl/prog/en/includes/header.inc | 2 +- > 2 files changed, 5 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >index 8f64a5250f..1f0c3274d2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >@@ -2243,8 +2243,11 @@ li { > } > > #cartmenulink { >- background: transparent url("../img/cart-small.gif") left center no-repeat; > padding-left: 15px; >+ >+ i.fa.fa-shopping-cart { >+ padding-right: 7px; >+ } > } > > #basketcount { >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc >index 6e40fad59a..460fd83f38 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc >@@ -23,7 +23,7 @@ > </li> > [% IF ( intranetbookbag ) %] > <li> >- <a href="#" id="cartmenulink">Cart<span id="basketcount"></span></a> >+ <a href="#" id="cartmenulink"><i class="fa fa-shopping-cart"></i>Cart<span id="basketcount"></span></a> > </li> > [% END %] > [% IntranetNav | $raw %] >-- >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 23803
:
94009
|
94010
| 94012 |
94013
|
94014