Bug 10619

Summary: sco.css missing for CCSR OPAC templates
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, tomascohen
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: Trivial patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 10619 - sco.css missing for CCSR OPAC templates
[SIGNED-OFF] Bug 10619 - sco.css missing for CCSR OPAC templates
[PASSED QA] Bug 10619 - sco.css missing for CCSR OPAC templates
[PASSED QA] Bug 10619 - sco.css missing for CCSR OPAC templates

Description Katrin Fischer 2013-07-21 09:36:43 UTC
To test:
- Activate prog OPAC theme and web based self check
- Open the web based self check page in OPAC
- Verify it displays ok
- Switch OPAC theme to CCSR
- Verify the pages changes: On the left appears some information that should not
  be there.

In the logs following error message should only appear when using CCSR templates:

[Sun Jul 21 11:32:57 2013] [error] [client 127.0.0.1] File does not exist: /home/katrin/kohaclone/koha-tmpl/opac-tmpl/ccsr/famfamfam, referer: http://localhost/opac-tmpl/ccsr/en/css/sco.css
Comment 1 Katrin Fischer 2013-07-21 09:38:29 UTC
Also: System preference OpacFavicon is not used for web based self check pages.
Comment 2 Owen Leonard 2013-08-01 14:14:05 UTC Comment hidden (obsolete)
Comment 3 Srdjan Jankovic 2013-08-02 03:25:16 UTC Comment hidden (obsolete)
Comment 4 Katrin Fischer 2013-08-25 17:42:32 UTC Comment hidden (obsolete)
Comment 5 Katrin Fischer 2013-08-25 17:42:56 UTC
Created attachment 20595 [details] [review]
[PASSED QA] Bug 10619 - sco.css missing for CCSR OPAC templates

sco.css is not missing from CCSR, but some image paths in the CSS are
incorrect, resulting in some missing images. This patch corrects those
broken paths.

This patch also hides the Cart/Lists/login region of the template which
should not be visible in self checkout.

To test, enable self-checkout and switch to the CCSR theme. Load a
patron for self-checkout and confirm that images associated with buttons
appear correctly: By the help link in the upper-right, on the 'Finish'
button, etc. Try checking out an item which is already checked out to
that patron to see more examples.

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
CSS changes only, works nicely.
Comment 6 Galen Charlton 2013-09-08 06:34:42 UTC
Pushed to master.  Thanks, Owen!
Comment 7 Tomás Cohen Arazi (tcohen) 2013-11-01 17:48:23 UTC
This patch has been pushed to 3.12.x, will be in 3.12.7.

Thanks Owen!