From 24ae51e3f94540fd4b86559a4f21b857e423e344 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 5 Jun 2018 14:24:00 +0000 Subject: [PATCH] Bug 20600: (follow-up) Move template JavaScript to the footer This patch moves the ILL requests template's JavaScript to the footer. Also changed: - Removed unused jQuery checkboxes plugin - Some tags have been corrected to be self-closing. - Title tag has been corrected - Table row limit of 10 has been removed in favor of accepting default used elsewhere. To test, apply the patch and follow the original test plan for this bug. Everything should work as expected. Signed-off-by: Andrew Isherwood Signed-off-by: Katrin Fischer --- .../prog/en/modules/ill/ill-requests.tt | 505 ++++++++++++++++++++- 1 file changed, 497 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt index ebbe63b7bc..2f2e307822 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt @@ -3,9 +3,9 @@ [% USE Branches %] [% USE Koha %] [% USE KohaDates %] - +[% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -Koha › ILL requests › +Koha › ILL requests [% INCLUDE 'doc-head-close.inc' %] [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %] [% Asset.css("css/datatables.css") | $raw %] @@ -551,19 +551,19 @@
  • - +
  • - +
  • - +
  • - +
  • @@ -573,7 +573,7 @@
  • - +
  • @@ -639,7 +639,7 @@
    1. - +
    2. @@ -1001,4 +1001,493 @@ [% CATCH %] [% END %] +[% MACRO jsinclude BLOCK %] + [% INCLUDE 'datatables.inc' %] + [% INCLUDE 'calendar.inc' %] + +[% END %] + [% INCLUDE 'intranet-bottom.inc' %] -- 2.11.0