From 7ab87c2dcdb1dccb11e9a745e70fa1ee8b6d6bbf 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 Signed-off-by: Nick Clemens --- .../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 4357eb0087..60db7c3926 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.39.5