Bug 32207: Add page-section to some circulation pages
This patch adds a .page-section div to various circ-related pages in order to provide a consistent page structure. To test, apply the patch and view the following pages in Circulation to confirm that the primary page content is wrapped in a container with a white background: - Overdues - Overdues with fines - Transfers to receive: Your system should have items which have been transfered from at least two other libraries. - Transfers to send: Your system must have one or more items in the branchtransfers table with the datesent value = null. - On-site checkouts - Catalog -> Bibliographic record -> Items -> View item's checkout history Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
db78c0d676
commit
65ef9861d3
6 changed files with 139 additions and 126 deletions
|
@ -50,7 +50,8 @@
|
|||
[% INCLUDE 'blocking_errors.inc' %]
|
||||
|
||||
<h3>Barcode [% barcode | html %]</h3>
|
||||
<table>
|
||||
<div class="page-section">
|
||||
<table>
|
||||
<tr><th>Home library</th><th>Current library</th><th>Date arrived<br />at current library </th><th>Number of checkouts<br />since last transfer</th></tr>
|
||||
|
||||
<tr><td>[% Branches.GetName( homebranch ) | html %]</td>
|
||||
|
@ -58,8 +59,11 @@
|
|||
<td>[% IF ( lastdate ) %][% lastdate | $KohaDates %][% ELSE %]Item has no transfer record[% END %]</td>
|
||||
<td>[% count | html %]</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table>
|
||||
</table>
|
||||
</div> <!-- /.page-section -->
|
||||
|
||||
<div class="page-section">
|
||||
<table>
|
||||
<tr>
|
||||
<th>Library</th>
|
||||
<th>No. of times checked out</th>
|
||||
|
@ -81,7 +85,8 @@
|
|||
</td>
|
||||
</tr>
|
||||
[% END %]
|
||||
</table>
|
||||
</table>
|
||||
</div> <!-- /.page-section -->
|
||||
|
||||
</main>
|
||||
</div> <!-- /.col-sm-10.col-sm-push-2 -->
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
</form>
|
||||
|
||||
[% IF ( overduesloop ) %]
|
||||
<div class="page-section">
|
||||
<table style="width:100%;">
|
||||
<tr>
|
||||
<th>Date due</th>
|
||||
|
@ -78,11 +79,12 @@
|
|||
</tr>
|
||||
[% END %]
|
||||
</table>
|
||||
</div> <!-- /.page-section -->
|
||||
[% ELSE %]
|
||||
<div class="dialog message">There are no overdues for today[% IF ( location ) %] at the selected location[% END %].</div>
|
||||
[% END %]
|
||||
[% IF ( todayoverduesloop ) %]
|
||||
<div id="branch_odues_today_odues">
|
||||
<div id="branch_odues_today_odues" class="page-section">
|
||||
<table style="width:100%;">
|
||||
<caption>Today's notifications</caption>
|
||||
<tr>
|
||||
|
|
|
@ -47,6 +47,7 @@
|
|||
|
||||
<h1>Pending on-site checkouts</h1>
|
||||
[% IF pending_onsite_checkouts %]
|
||||
<div class="page-section">
|
||||
<table id="pending_onsite_checkout">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -77,6 +78,7 @@
|
|||
[% END %]
|
||||
</tbody>
|
||||
</table>
|
||||
</div> <!-- /.page-section -->
|
||||
[% ELSE %]
|
||||
<h3>No pending on-site checkout.</h3>
|
||||
[% END %]
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
</p>
|
||||
|
||||
<div class="sql"><pre>[% sql | html %]</pre></div>
|
||||
<div class="searchresults">
|
||||
<div class="page-section searchresults">
|
||||
<table id="overduest">
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
<div id="resultlist">
|
||||
[% FOREACH library IN libraries %]
|
||||
[% IF ( library.branchcode ) %]
|
||||
<div class="page-section">
|
||||
<table style="width: 100%" id="transferst[% library.branchcode | html %]">
|
||||
<caption>Sending to [% library.branchname | html %]</caption>
|
||||
<thead>
|
||||
|
@ -90,6 +91,7 @@
|
|||
[% END %]
|
||||
</tbody>
|
||||
</table>
|
||||
</div> <!-- /.page-section -->
|
||||
[% END %]
|
||||
[% END %]
|
||||
</div>
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
<div id="resultlist">
|
||||
[% FOREACH branchesloo IN branchesloop %]
|
||||
[% IF ( branchesloo.branchcode ) %]
|
||||
<div class="page-section">
|
||||
<table style="width: 100%" id="transferst[% branchesloo.branchcode | html %]">
|
||||
<caption>Coming from [% branchesloo.branchname | html %]</caption>
|
||||
<thead><tr>
|
||||
|
@ -97,6 +98,7 @@
|
|||
</tr>
|
||||
[% END %]</tbody>
|
||||
</table>
|
||||
</div> <!-- /.page-section -->
|
||||
[% END %]
|
||||
[% END %]
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue