+++ This bug was initially created as a clone of Bug #21266 +++ Many of the some changes should be made to the self checkin templates
Created attachment 188669 [details] [review] Bug 41113: Missing doc-head-close and cssinclude in sci-main.tt This patch makes changes to the self checkin template in order to replace inline markup with doc-head-close.inc. A cssinclude BLOCK is added for the inclusion of SelfCheckInUserCSS. To test you must have the SelfCheckInModule system preference enabled. - In the staff client, add a link to a custom stylesheet in the OpacAdditionalStylesheet system preference. For example: https://static.myacpl.org/public/css/test.css - Go to the self-checkin page and confirm that the page background is now blue. - Empty the OpacAdditionalStylesheet preference and add custom CSS to the SelfCheckInUserCSS preference. - Reload the self checkin page to confirm that your CSS has been applied. Sponsored-by: Athens County Public Libraries
I had a go at testing, but I couldn't get it to work for me: 1. For step 3, I emptied OpacAdditionalStylesheet and reloaded the page - it turned back to normal (without the light blue background). 2. I added the same CSS to SelfCheckInUserCSS, and refreshed the page (I also deleted the cache and restarted everything) - the background remained normal, not the light blue. 3. The CSS is the page source (I added a comment just to make sure): <!-- SelfCheckInUserCSS --> <style>/* This is a comment */ body { background-color: #7bbbff; } </style>