From fbe829719534ac82eb3fc146f15f57ec74f5748a Mon Sep 17 00:00:00 2001
From: Owen Leonard <oleonard@myacpl.org>
Date: Tue, 25 Jun 2019 11:40:16 +0000
Subject: [PATCH] Bug 23198: Wrong icons/paths in 18.11 for self check modules

This patch amends the CSS in self checkout and self check-in modules so
that paths to icon images are correct.

To test, apply the patch and make sure the WebBasedSelfCheck and
SelfCheckInModule preferences are enabled.

In self-checkout and self-check-in, confirm that the following icons
appear correctly:

 - "Help" (?) icon in the upper right.
 - "Finish" (stop sign) icon -- Shown to logged-in self checkout users
   from the start. Shown to self-check-in users after they check in an
   item.
 - "Cancel" (X) icon -- Shown for instance when you try to check out an
   item which is already checked out to you and can be renewed.
   - Also in this dialog: "Return" (Book with arrow) and "Renew"
    (refresh icon).

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
---
 koha-tmpl/opac-tmpl/bootstrap/css/sci.css | 12 ++++++------
 koha-tmpl/opac-tmpl/bootstrap/css/sco.css | 12 ++++++------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/sci.css b/koha-tmpl/opac-tmpl/bootstrap/css/sci.css
index 51464cb2c5..a65d6a9d69 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/css/sci.css
+++ b/koha-tmpl/opac-tmpl/bootstrap/css/sci.css
@@ -152,27 +152,27 @@ i.icon {
 }
 
 i.back {
-    background : transparent url("../lib/famfamfam/arrow_left.png") no-repeat 0 0;
+    background : transparent url("../../lib/famfamfam/arrow_left.png") no-repeat 0 0;
 }
 
 i.return {
-    background : transparent url("../lib/famfamfam/book_previous.png") no-repeat 0 0;
+    background : transparent url("../../lib/famfamfam/book_previous.png") no-repeat 0 0;
 }
 
 i.renew {
-    background : transparent url("../lib/famfamfam/arrow_refresh.png") no-repeat 0 0;
+    background : transparent url("../../lib/famfamfam/arrow_refresh.png") no-repeat 0 0;
 }
 
 i.cancel {
-    background : transparent url("../lib/famfamfam/cancel.png") no-repeat 0 0;
+    background : transparent url("../../lib/famfamfam/cancel.png") no-repeat 0 0;
 }
 
 i.finish {
-    background : transparent url("../lib/famfamfam/stop.png") no-repeat 0 0;
+    background : transparent url("../../lib/famfamfam/stop.png") no-repeat 0 0;
 }
 
 i.help {
-    background : transparent url("../lib/famfamfam/help.png") no-repeat 0 0;
+    background : transparent url("../../lib/famfamfam/help.png") no-repeat 0 0;
 }
 
 .table .sorting_asc {
diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/sco.css b/koha-tmpl/opac-tmpl/bootstrap/css/sco.css
index 51464cb2c5..a65d6a9d69 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/css/sco.css
+++ b/koha-tmpl/opac-tmpl/bootstrap/css/sco.css
@@ -152,27 +152,27 @@ i.icon {
 }
 
 i.back {
-    background : transparent url("../lib/famfamfam/arrow_left.png") no-repeat 0 0;
+    background : transparent url("../../lib/famfamfam/arrow_left.png") no-repeat 0 0;
 }
 
 i.return {
-    background : transparent url("../lib/famfamfam/book_previous.png") no-repeat 0 0;
+    background : transparent url("../../lib/famfamfam/book_previous.png") no-repeat 0 0;
 }
 
 i.renew {
-    background : transparent url("../lib/famfamfam/arrow_refresh.png") no-repeat 0 0;
+    background : transparent url("../../lib/famfamfam/arrow_refresh.png") no-repeat 0 0;
 }
 
 i.cancel {
-    background : transparent url("../lib/famfamfam/cancel.png") no-repeat 0 0;
+    background : transparent url("../../lib/famfamfam/cancel.png") no-repeat 0 0;
 }
 
 i.finish {
-    background : transparent url("../lib/famfamfam/stop.png") no-repeat 0 0;
+    background : transparent url("../../lib/famfamfam/stop.png") no-repeat 0 0;
 }
 
 i.help {
-    background : transparent url("../lib/famfamfam/help.png") no-repeat 0 0;
+    background : transparent url("../../lib/famfamfam/help.png") no-repeat 0 0;
 }
 
 .table .sorting_asc {
-- 
2.20.1 (Apple Git-117)