From f3b3498256e8af81232ff8be84f373509485f1f9 Mon Sep 17 00:00:00 2001 From: Claire Gravely 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 Signed-off-by: Nick Clemens Signed-off-by: Martin Renvoize --- 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 @@ [% IF ( intranetbookbag ) %]
  • - Cart + Cart
  • [% END %] [% IntranetNav | $raw %] -- 2.39.5