From fa3e2629b7f9904c4ea556037b12bc4f36be27e7 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 26 Oct 2020 12:31:16 +0000 Subject: [PATCH] Bug 26817: Change checkouts table footer colspan based on ExportCircHistory This patch makes a minor change to the include file which generates the checkouts table footer. It now includes some logic checking for the ExportCircHistory system preference, adjusting the colspan accordingly. To test, apply the patch and enable the ExportCircHistory system preference. - Check out to a patron who has checkouts. In the table of checkouts there should be an "Export" column. The footer at the bottom of the table should span the width of the table. - Disable the ExportCircHistory preference. - View the checkout page again and confirm that table footer still looks correct. --- koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table-footer.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table-footer.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table-footer.inc index 9b62491d4a..483e33e4a0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table-footer.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table-footer.inc @@ -4,7 +4,11 @@ - + [% IF Koha.Preference('ExportCircHistory') %] + + [% ELSE %] + + [% END %]

-- 2.11.0