From 7bee012d72eb485064d5e4475a5158665e26691d 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. Signed-off-by: Séverine QUEUNE Signed-off-by: Katrin Fischer --- 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