Bugzilla – Attachment 112776 Details for
Bug 26817
"Total" line in checkouts table is too short when ExportCircHistory is activated
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26817: Change checkouts table footer colspan based on ExportCircHistory
Bug-26817-Change-checkouts-table-footer-colspan-ba.patch (text/plain), 2.21 KB, created by
Katrin Fischer
on 2020-10-31 23:24:01 UTC
(
hide
)
Description:
Bug 26817: Change checkouts table footer colspan based on ExportCircHistory
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-10-31 23:24:01 UTC
Size:
2.21 KB
patch
obsolete
>From 7bee012d72eb485064d5e4475a5158665e26691d Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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 <severine.queune@bulac.fr> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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 @@ > <td id="totaldue" style="text-align: right;"></td> > <td id="totalfine" style="text-align: right;"></td> > <td id="totalprice" style="text-align: right;"></td> >- <td colspan="3"> >+ [% IF Koha.Preference('ExportCircHistory') %] >+ <td colspan="4"> >+ [% ELSE %] >+ <td colspan="3"> >+ [% END %] > <div class="date-select"> > <p><label for="newduedate">Renewal due date:</label> <input type="text" size="12" id="newduedate" name="newduedate" value="" /></p> > <p id="newonholdduedate"><label for="newonholdduedate">On hold due date:</label> <input type="text" size="12" name="newonholdduedate" value="" /></p> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 26817
:
112517
|
112728
| 112776