From 457a361eed09ed28ec235139f1ab8f392b967287 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 --- 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 8f64a52..1f0c327 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 6e40fad..460fd83 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.1.4