Koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ/bookcount.tt
Owen Leonard a3e722c705 Bug 21449: Update two-column templates with Bootstrap grid: Circulation part 2
This patch modifies several circulation templates to use the
Bootstrap grid instead of YUI.

This patch also removes obsolete "text/javascript" attributes from
<script> tags and "text/css" attributes from <style> tags in the
modified templates.

To test, apply the patch and view the following pages, confirming that
they look correct at various browser widths. For each page, test with
the CircSidebar preference both on and off.

 - Catalog -> Search -> Details -> Items -> View item's checkout history
 - Circulation -> Overdues with fines
 - Circulation -> Transfer
 - Circulation -> Patron -> Batch checkout
 - Circulation -> Built-in offline circulation interface
   - Synchronize
   - Pending offline circulation actions
   - Check out
   - Check in

Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>

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

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-01-30 11:59:40 +00:00

79 lines
2.4 KiB
Text

[% USE Koha %]
[% USE KohaDates %]
[% USE Branches %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Circulation &rsaquo; Circulation statistics for [% title | html %]</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body id="circ_bookcount" class="circ">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'circ-search.inc' %]
<div id="breadcrumbs">
<a href="/cgi-bin/koha/mainpage.pl">Home</a>
&rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
[% UNLESS blocking_error %]&rsaquo; Circulation statistics for [% title |html %][% END %]
</div>
<div class="main container-fluid">
<div class="row">
<div class="col-sm-10 col-sm-push-2">
<main>
[% INCLUDE 'blocking_errors.inc' %]
<h2>[% title |html %] [% IF ( author ) %] by [% author |html %][% END %]</h2>
<h3>Barcode [% barcode | html %]</h3>
<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>
<td>[% Branches.GetName( holdingbranch ) | html %]</td>
<td>[% IF ( lastdate ) %][% lastdate | $KohaDates %][% ELSE %]Item has no transfer record[% END %]</td>
<td>[% count | html %]</td>
</tr>
</table>
<table>
<tr>
<th>Library</th>
<th>No. of times checked out</th>
<th>Last seen</th>
</tr>
[% FOREACH library IN libraries %]
[% IF library.selected %]
<tr class="mybranch">
[% ELSE %]
<tr>
[% END %]
<td>[% library.branchname | html %]</td>
<td>[% library.issues | html %]</td>
<td>[% IF library.seen %]
[% library.seen | $KohaDates with_hours => 1 %]
[% ELSE %]
<span>Never</span>
[% END %]
</td>
</tr>
[% END %]
</table>
</main>
</div> <!-- /.col-sm-10.col-sm-push-2 -->
<div class="col-sm-2 col-sm-pull-10">
<aside>
[% INCLUDE 'biblio-view-menu.inc' %]
</aside>
</div> <!-- /.col-sm-2.col-sm-pull-10 -->
</div> <!-- /.row -->
[% MACRO jsinclude BLOCK %]
<script>
$(document).ready(function(){
$("tr.mybranch td").css("background-color", "#CFE7FF");
});
</script>
[% END %]
[% INCLUDE 'intranet-bottom.inc' %]