Bug 41113

Summary: Missing doc-head-close and cssinclude in sci-main.tt
Product: Koha Reporter: Owen Leonard <oleonard>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: Needs Signoff --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: aleisha, alexbuckley, dcook, hammat.wele, lucas, testopia
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21266
GIT URL: Initiative type: ---
Sponsorship status: Sponsored Crowdfunding goal: 0
Patch complexity: Small patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 41144    
Bug Blocks:    
Attachments: Bug 41113: Missing doc-head-close and cssinclude in sci-main.tt

Description Owen Leonard 2025-10-27 18:18:36 UTC
+++ This bug was initially created as a clone of Bug #21266 +++

Many of the some changes should be made to the self checkin templates
Comment 1 Owen Leonard 2025-10-30 16:31:40 UTC
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