Bug 29706: Improve table elements

This patch add a thead and tbody element to the 'copiesrow' table

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Nick Clemens 2021-12-16 01:12:52 +00:00 committed by Kyle Hall
parent e8b1bc8850
commit e14bdb2f17
1 changed files with 6 additions and 2 deletions

View File

@ -345,7 +345,8 @@
[% IF bibitemloo.itemholdable %]
<table class="copiesrow table table-bordered table-striped" id="copiesrow_[% bibitemloo.biblionumber | html %]">
<caption>Select a specific item:</caption>
<tr>
<thead>
<tr>
<th>Copy number</th>
[% IF ( item_level_itypes ) %]
<th>Item type</th>
@ -363,7 +364,9 @@
<th>Vol info</th>
[% END %]
<th>Information</th>
</tr>
</tr>
</thead>
<tbody>
[% FOREACH itemLoo IN bibitemloo.itemLoop %]
<tr class="[% itemLoo.backgroundcolor | html %]">
@ -447,6 +450,7 @@
</td>
</tr>
[% END # / FOREACH itemLoo IN bibitemloo.itemLoop%]
</tbody>
</table> <!-- / #copiesrow_[% bibitemloo.biblionumber | html %] -->
[% END # / IF ( bibitemloo.itemholdable )%]
</div> <!-- / #hold-options-[% bibitemloo.biblionumber | html %] -->