Bugzilla – Attachment 9160 Details for
Bug 7953
opacuserjs to the sco template
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7953 - add opacuserjs to the sco template
Bug-7953---add-opacuserjs-to-the-sco-template.patch (text/plain), 1.39 KB, created by
Liz Rea
on 2012-04-12 22:00:31 UTC
(
hide
)
Description:
Bug 7953 - add opacuserjs to the sco template
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2012-04-12 22:00:31 UTC
Size:
1.39 KB
patch
obsolete
>From d5021d55c9d30ebb869cbdc80753e49cba71da1a Mon Sep 17 00:00:00 2001 >From: Liz Rea <wizzyrea@gmail.com> >Date: Thu, 12 Apr 2012 16:54:28 -0500 >Subject: [PATCH] Bug 7953 - add opacuserjs to the sco template >Content-Type: text/plain; charset="utf-8" > >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. >--- > .../opac-tmpl/prog/en/modules/sco/sco-main.tt | 6 ++++++ > 1 files changed, 6 insertions(+), 0 deletions(-) > >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 646366b..c06bde7 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 >@@ -60,7 +60,13 @@ $(document).ready(function() { > }); > //]]> > </script> >+<script type="text/javascript"> >+[% IF ( opacuserjs ) %][% opacuserjs %][% END %] >+</script> >+ > <link rel="stylesheet" type="text/css" href="[% themelang %]/css/sco.css" /> >+[% IF ( OPACUserCSS ) %]<style type="text/css">[% OPACUserCSS %]</style>[% END %] >+ > </head> > <body onload="dofocus();"> > >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7953
:
9160
|
9332
|
9370