Bug 41113 - Missing doc-head-close and cssinclude in sci-main.tt
Summary: Missing doc-head-close and cssinclude in sci-main.tt
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on: 41144
Blocks:
  Show dependency treegraph
 
Reported: 2025-10-27 18:18 UTC by Owen Leonard
Modified: 2025-10-30 16:31 UTC (History)
6 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: Sponsored
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: Small patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 41113: Missing doc-head-close and cssinclude in sci-main.tt (4.20 KB, patch)
2025-10-30 16:31 UTC, Owen Leonard
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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