From 1044d4794e183ac3936d84c3a1bb00bab5f1d764 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 Signed-off-by: Charles Farmer --- 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 907f4bdf81..44588ae46c 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 @@ -28,6 +28,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.11.0