From 0d2bf47a8a64bc1c3fba2317c861f8709296db6a Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Thu, 12 Apr 2012 16:54:28 -0500 Subject: [PATCH] Bug 7953 - add opacuserjs to the sco template To test: add some jquery to opacuserjs that would change the screen a la: $(".checkout label[for='patronid']").css("border","3px solid red"); verify you see a red box on the sco-main page. Also adds the ability to use opacusercss to style sco-main.tt to test: Add some css to opacusercss that would change the screen: .checkout { background: grey; } verify you see a grey box around the checkout div. Signed-off-by: Owen Leonard Signed-off-by: Paul Poulain Signed-off-by: Chris Cormack --- koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt index 646366bf6e..35db4fd4ac 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt @@ -59,8 +59,14 @@ $(document).ready(function() { }); }); //]]> + +[% IF ( opacuserjs ) %][% END %] + + +[% IF ( OPACUserCSS ) %][% END %] + -- 2.39.5