Browse Source

Bug 32576: Move page-section outside of table include

This patch drops the superflous div from the ill-list-table include and
instead opts to wrap calls to it with a more appropriately positioned
div instead.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
23.05.x
Martin Renvoize 1 year ago
committed by Tomas Cohen Arazi
parent
commit
abda545a78
Signed by: tomascohen GPG Key ID: 0A272EA1B2F3C15F
  1. 84
      koha-tmpl/intranet-tmpl/prog/en/includes/ill-list-table.inc
  2. 5
      koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt
  3. 4
      koha-tmpl/intranet-tmpl/prog/en/modules/members/ill-requests.tt

84
koha-tmpl/intranet-tmpl/prog/en/includes/ill-list-table.inc

@ -1,43 +1,41 @@
<div class="page-section">
[% IF prefilters.length > 0 %]
<table id="ill-requests" data-prefilters="[% prefilters | html %]">
[% ELSE %]
<table id="ill-requests">
[% END %]
<thead>
<tr id="illview-header">
<th scope="col">Request ID</th>
<th scope="col">Author</th>
<th scope="col">Title</th>
<th scope="col">Article title</th>
<th scope="col">Issue</th>
<th scope="col">Volume</th>
<th scope="col">Year</th>
<th scope="col">Pages</th>
<th scope="col">Request type</th>
<th scope="col">Order ID</th>
<th scope="col">Patron</th>
<th scope="col">Bibliographic record ID</th>
<th scope="col">Library</th>
<th scope="col">Status</th>
<th scope="col" class="placed">&nbsp;</th>
<th scope="col" class="placed_formatted">Placed on</th>
<th scope="col" class="updated">&nbsp;</th>
<th scope="col" class="updated_formatted">Updated on</th>
<th scope="col">Replied</th>
<th scope="col" class="completed">&nbsp;</th>
<th scope="col" class="completed_formatted">Completed on</th>
<th scope="col">Access URL</th>
<th scope="col">Cost</th>
<th scope="col">Price paid</th>
<th scope="col">Comments</th>
<th scope="col">OPAC notes</th>
<th scope="col">Staff notes</th>
<th scope="col">Backend</th>
<th scope="col" class="actions"></th>
</tr>
</thead>
<tbody id="illview-body">
</tbody>
</table>
</div>
[% IF prefilters.length > 0 %]
<table id="ill-requests" data-prefilters="[% prefilters | html %]">
[% ELSE %]
<table id="ill-requests">
[% END %]
<thead>
<tr id="illview-header">
<th scope="col">Request ID</th>
<th scope="col">Author</th>
<th scope="col">Title</th>
<th scope="col">Article title</th>
<th scope="col">Issue</th>
<th scope="col">Volume</th>
<th scope="col">Year</th>
<th scope="col">Pages</th>
<th scope="col">Request type</th>
<th scope="col">Order ID</th>
<th scope="col">Patron</th>
<th scope="col">Bibliographic record ID</th>
<th scope="col">Library</th>
<th scope="col">Status</th>
<th scope="col" class="placed">&nbsp;</th>
<th scope="col" class="placed_formatted">Placed on</th>
<th scope="col" class="updated">&nbsp;</th>
<th scope="col" class="updated_formatted">Updated on</th>
<th scope="col">Replied</th>
<th scope="col" class="completed">&nbsp;</th>
<th scope="col" class="completed_formatted">Completed on</th>
<th scope="col">Access URL</th>
<th scope="col">Cost</th>
<th scope="col">Price paid</th>
<th scope="col">Comments</th>
<th scope="col">OPAC notes</th>
<th scope="col">Staff notes</th>
<th scope="col">Backend</th>
<th scope="col" class="actions"></th>
</tr>
</thead>
<tbody id="illview-body">
</tbody>
</table>

5
koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt

@ -786,10 +786,9 @@
[% ELSIF query_type == 'illlist' %]
<!-- illlist -->
<h1>View ILL requests</h1>
<div id="results">
<h3>Details for all requests</h3>
<div id="results" class="page-section">
<h2>Details for all requests</h2>
[% INCLUDE 'ill-list-table.inc' %]
</div> <!-- /#results -->
[% ELSIF query_type == 'availability' %]
<!-- availability -->

4
koha-tmpl/intranet-tmpl/prog/en/modules/members/ill-requests.tt

@ -42,7 +42,9 @@
<main>
[% INCLUDE 'members-toolbar.inc' %]
<h1>ILL requests history</h1>
[% INCLUDE 'ill-list-table.inc' %]
<div class="page-section">
[% INCLUDE 'ill-list-table.inc' %]
</div>
</main>
</div> <!-- .col-sm-10.col-sm-push-2 -->

Loading…
Cancel
Save