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 Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
2782a039aa
commit
0548bfcd67
3 changed files with 27 additions and 45 deletions
|
@ -0,0 +1,25 @@
|
|||
[% USE Koha %]
|
||||
[% IF ( relatives_issues_count ) %]
|
||||
<div id="relatives-issues">
|
||||
<table id="relatives-issues-table" style="width: 100% !Important;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Due date (unformatted, hidden)</th>
|
||||
<th scope="col">Due date</th>
|
||||
<th scope="col">Title</th>
|
||||
<th scope="col">Item type</th>
|
||||
<th scope="col">Collection code</th>
|
||||
<th scope="col">Location</th>
|
||||
<th scope="col">Checked out on (hidden, unformatted)</th>
|
||||
<th scope="col">Checked out on</th>
|
||||
<th scope="col">Checked out from</th>
|
||||
<th scope="col">Call no</th>
|
||||
<th scope="col">Charge</th>
|
||||
<th scope="col">Fine</th>
|
||||
<th scope="col">Price</th>
|
||||
<th scope="col">Patron</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
[% END %]
|
|
@ -858,29 +858,7 @@
|
|||
|
||||
[% INCLUDE "checkouts-table.inc" %]
|
||||
|
||||
[% IF ( relatives_issues_count ) %]
|
||||
<div id="relatives-issues">
|
||||
<table id="relatives-issues-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Due date (unformatted, hidden)</th>
|
||||
<th scope="col">Due date</th>
|
||||
<th scope="col">Title</th>
|
||||
<th scope="col">Item type</th>
|
||||
<th scope="col">Collection code</th>
|
||||
<th scope="col">Location</th>
|
||||
<th scope="col">Checked out on</th>
|
||||
<th scope="col">Checked out from</th>
|
||||
<th scope="col">Call no</th>
|
||||
<th scope="col">Charge</th>
|
||||
<th scope="col">Fine</th>
|
||||
<th scope="col">Price</th>
|
||||
<th scope="col">Patron</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div> <!-- /#relatives-issues -->
|
||||
[% END %]
|
||||
[% INCLUDE "relatives-issues-table.inc" %]
|
||||
|
||||
[% IF CAN_user_clubs && ( enrollable.count || enrollments.count ) %]
|
||||
<div id="clubs-tab">
|
||||
|
|
|
@ -723,28 +723,7 @@
|
|||
|
||||
[% INCLUDE "checkouts-table.inc" %]
|
||||
|
||||
[% IF ( relatives_issues_count ) %]
|
||||
<div id="relatives-issues">
|
||||
<table id="relatives-issues-table" style="width: 100% !Important;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Due date hidden not formatted</th>
|
||||
<th scope="col">Due date</th>
|
||||
<th scope="col">Title</th>
|
||||
<th scope="col">Item type</th>
|
||||
<th scope="col">Location</th>
|
||||
<th scope="col">Checked out on</th>
|
||||
<th scope="col">Checked out from</th>
|
||||
<th scope="col">Call no</th>
|
||||
<th scope="col">Charge</th>
|
||||
<th scope="col">Fine</th>
|
||||
<th scope="col">Price</th>
|
||||
<th scope="col">Patron</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
[% END %]
|
||||
[% INCLUDE "relatives-issues-table.inc" %]
|
||||
|
||||
<div id="finesandcharges">
|
||||
[% IF ( fines ) %]
|
||||
|
|
Loading…
Reference in a new issue