From a0f35c45c988e7e15aa0beaeb2307a1cb09c4de6 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 1 Aug 2019 11:44:39 +0000 Subject: [PATCH] Bug 23408: Move relatives-issues-table to an include TO test: 1 - Find and adult patron 2 - Add a child account 3 - Check out some things to the child 4 - View the adults account, click 'Relatives checkouts' 5 - Observe table is oddly formatted 6 - View on both the 'Check out' and 'Details' tabs 7 - Apply patch 8 - Tables are displayed correctly --- .../prog/en/modules/circ/circulation.tt | 24 +--------------------- .../prog/en/modules/members/moremember.tt | 23 +-------------------- 2 files changed, 2 insertions(+), 45 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index 84c3833d71..eba096c688 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -858,29 +858,7 @@ [% INCLUDE "checkouts-table.inc" %] - [% IF ( relatives_issues_count ) %] -
- - - - - - - - - - - - - - - - - - -
Due date (unformatted, hidden)Due dateTitleItem typeCollection codeLocationChecked out onChecked out fromCall noChargeFinePricePatron
-
- [% END %] + [% INCLUDE "relatives-issues-table.inc" %] [% IF CAN_user_clubs && ( enrollable.count || enrollments.count ) %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt index 05cb6c9478..86d26a586f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -723,28 +723,7 @@ [% INCLUDE "checkouts-table.inc" %] - [% IF ( relatives_issues_count ) %] -
- - - - - - - - - - - - - - - - - -
Due date hidden not formattedDue dateTitleItem typeLocationChecked out onChecked out fromCall noChargeFinePricePatron
-
- [% END %] + [% INCLUDE "relatives-issues-table.inc" %]
[% IF ( fines ) %] -- 2.11.0