Basicly we need a patch to add a bit for opacuserjs to the sco template. Ed
Created attachment 9160 [details] [review] 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.
Conditional check for IF opacuserjs should exist outside <script> tags, lest empty tags be created when no content is present. Marking Failed QA for the above reason.
Created attachment 9332 [details] [review] 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.
Created attachment 9370 [details] [review] [SIGNED-OFF] 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 <oleonard@myacpl.org> http://bugs.koha-community.org/show_bug.cgi?id=7959
Conditional statement fixed (thank you!). Marking Passed QA.
*** Bug 6310 has been marked as a duplicate of this bug. ***