Bug 31939: Add page-section to branches template
This patch adds the page-section class to the appropriate blocks in the Libraries administration area. Test plan 1) Confirm that Administration > Libraries correctly displays the table inside a page-section card 2) Confirm that Administration > Libraries > 'A library' correctly displays a card for the main information at the top and a separate card for OPAC Information if added. 3) Confirm that the 'Add' and 'Edit' library forms still look good. 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:
parent
5f3c28b0ef
commit
d1d5b51cee
1 changed files with 4 additions and 3 deletions
|
@ -329,6 +329,7 @@ Libraries › Administration › Koha
|
|||
[% IF op == 'list' %]
|
||||
<h1>Libraries</h1>
|
||||
[% IF libraries_count > 0 %]
|
||||
<div class="page-section">
|
||||
<table id="libraries">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -344,6 +345,7 @@ Libraries › Administration › Koha
|
|||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
[% ELSE %]
|
||||
<div class="dialog message">There are no libraries defined. <a href="/cgi-bin/koha/admin/branches.pl?op=add_form">Start defining libraries</a>.</div>
|
||||
[% END %]
|
||||
|
@ -351,7 +353,7 @@ Libraries › Administration › Koha
|
|||
|
||||
[% IF op == 'view' && library %]
|
||||
<h1>[% library.branchname | html %]</h1>
|
||||
<div class="row">
|
||||
<div class="row page-section">
|
||||
<div class="col-sm-6">
|
||||
<div class="rows">
|
||||
<ol>
|
||||
|
@ -474,8 +476,7 @@ Libraries › Administration › Koha
|
|||
</div> <!-- /.col-sm-6 -->
|
||||
</div> <!-- /.row -->
|
||||
[% IF OpacLibraryInfo %]<!-- opac_info -->
|
||||
<hr />
|
||||
<div class="row">
|
||||
<div class="row page-section">
|
||||
<div class="col-sm-12">
|
||||
<h2>OPAC information</h2>
|
||||
<div>[% OpacLibraryInfo.content | $raw %]</div>
|
||||
|
|
Loading…
Reference in a new issue