From f04e400dd9bc45b9eee901078afe7b4c97961afc Mon Sep 17 00:00:00 2001 From: Alex Buckley Date: Fri, 24 Aug 2018 14:17:58 +1200 Subject: [PATCH] Bug 21266 - Added missing doc-head-close and cssinclude to sco-main.tt Test plan: 1. Add a custom opac theme stylesheet in OpacAdditionalStylesheet syspref 2. Make sure there is a link to self checkout in your customsearch syspref. e.g.:
  • Self issue an item
  • 3. Also ensure you have set the syspref: WebBasedSelfCheck to 'Enable' and use a patron with the self_check_permissions, and enable AutoSelfCheckAllowed syspref and write in the username and password of the aforementioned user into the AutoSelfCheckID and AuoSelfCheckPass sysprefs 4. In the Koha OPAC click on the self issue link and notice the OPAC theme is not being applied to the self check interface. 5. Apply patch 6. Refresh the page and notice the custom theme is being applied. Sponsored-By: Central Agencies (Treasury), New Zealand --- koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt index dcfdb08..2f8b39a 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt @@ -21,6 +21,8 @@ function _(s) { return s } // dummy function for gettext [% Asset.js("lib/modernizr.min.js") | $raw %] +[% INCLUDE 'doc-head-close.inc' %] +[% BLOCK cssinclude %][% END %] [% INCLUDE 'masthead-sco.inc' %] -- 2.7.4