]> git.koha-community.org Git - koha.git/commit
Bug 9618: Add support for intranetuserjs to labels/spinelabel-print.pl
authorOwen Leonard <oleonard@myacpl.org>
Mon, 18 Mar 2013 19:13:09 +0000 (15:13 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 7 Nov 2013 15:37:23 +0000 (12:37 -0300)
commit28e5e116d8cab8e4f5ae2cb28ef590753592c355
tree930668804ea74bd0199586deb4454cae11e5f1a9
parent63fa18513fceb8fee6b6a35d885ec50b0d55c969
Bug 9618: Add support for intranetuserjs to labels/spinelabel-print.pl

The template for printing a single spine label is a stripped-down
version of a standard Koha template, but it should include
intranetuserjs and IntranetUserCSS so that libraries can make local
customizations.

This patch updates the page's DOCTYPE to HTML5 and adds the missing
markup for including those preferences. Also added is jQuery, since
there's a good chance local customizations are using jQuery.

To test, make sure there is something in your intranetuserjs and
IntranetUserCSS system preferences. Visit
/cgi-bin/koha/labels/spinelabel-home.pl and submit a barcode. View
source on the spine label output page and confirm that your custom js
and css were included correctly.

Signed-off-by: Campbell Reid-Tait <campbellreidtait@gmail.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Template only change, works nicely.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit cb59e37e56c255219298450f7a289cf7c3fe819b)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt