From 8bcce000fd090f146c148a7e6c6bdd92f0a4c00a 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 --- .../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 53f5700994..c368ce1bc1 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. @@ -992,4 +992,493 @@ [% CATCH %] [% END %] +[% MACRO jsinclude BLOCK %] + [% INCLUDE 'datatables.inc' %] + [% INCLUDE 'calendar.inc' %] + +[% END %] + [% INCLUDE 'intranet-bottom.inc' %] -- 2.11.0