Bug 31941: Add page-section container to item types

This patch adds the page-section container to the item types
adminstration page

Test plan
1) Confirm the item types administration page uses the card view around
   the main table

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Martin Renvoize 2022-10-24 12:39:06 +01:00 committed by Tomas Cohen Arazi
parent d1d5b51cee
commit 071311eaad
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -471,6 +471,7 @@ Item types &rsaquo; Administration &rsaquo; Koha
[% IF op == 'list' %]
<h1>Item types administration</h1>
[% IF itemtypes %]
<div class="page-section">
<table id="table_item_type">
<thead>
[% UNLESS Koha.Preference('noItemTypeImages') && Koha.Preference('OpacNoItemTypeImages') %]<th class="noExport">Image</th>[% END %]
@ -594,6 +595,7 @@ Item types &rsaquo; Administration &rsaquo; Koha
</tr>
[% END %]
</table>
</div>
[% ELSE %]
<div class="dialog message">There are no itemtypes defined</div>
[% END %]