From eeb0ed56edc5e8be5f05a9e71b2aa30dd455824a Mon Sep 17 00:00:00 2001 From: Alex Buckley <alexbuckley@catalyst.net.nz> 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.: <li class="top-level"> <a class="no-hover" href="https://<OPACURL>/cgi-bin/koha/sco/sco-main.pl"> <span class="self-issue"> Self issue an item </span> </a> </li> 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 <charles.farmer@inLibro.com> --- 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 e004afd..a9faa65 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 </script> [% Asset.js("lib/modernizr.min.js") | $raw %] +[% INCLUDE 'doc-head-close.inc' %] +[% BLOCK cssinclude %][% END %] </head> <body id="sco_main" class="sco" onload="dofocus();" onunload="mungeHistory();"> [% INCLUDE 'masthead-sco.inc' %] -- 2.7.4