Koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ/bookcount.tmpl
Joe Atzberger 3c76a8334f Cleanup and enhance bookcount.pl and .tmpl
Eliminated bug with date handling outputting an English string.
Row striping added.  Highlight for "my branch" row added.
GetBranchesLoop used instead of recreating data structure, so we get the
benefit of branches being sorted (by display name).

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-05-21 08:18:01 -05:00

66 lines
2.4 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Circulation &rsaquo; Circulation Statistics for <!-- TMPL_VAR Name="title" escape="html" --></title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<script type="text/javascript">
$(document).ready(function(){
$(".striped tr:even").addClass("highlight");
$("tr.mybranch td").css("background-color", "#CFE7FF");
});
</script>
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
<!-- TMPL_INCLUDE NAME="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> &rsaquo; Circulation Statistics for <!-- TMPL_VAR Name="title" escape="html" --></div>
<div id="doc3" class="yui-t2">
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<h2>
<!-- TMPL_VAR NAME="title" ESCAPE="html" --> <!-- TMPL_IF NAME="author" --> by <!-- TMPL_VAR NAME="author" ESCAPE="html" --><!-- /TMPL_IF --></h2>
<h3>Barcode <!-- TMPL_VAR NAME="barcode" --></h3>
<table>
<tr><th>Home Library</th><th>Current Library</th><th>Date arrived<br />at current library </th><th>Number of issues<br />since last transfer</th></tr>
<tr><td><!-- TMPL_VAR NAME="homebranch" --></td>
<td><!-- TMPL_VAR NAME="holdingbranch" --></td>
<td><!-- TMPL_VAR NAME="lastdate" --></td>
<td><!-- TMPL_VAR NAME="count" --></td>
</tr>
</table>
<table class="striped">
<tr>
<th>Library</th>
<th>No. of times checked out</th>
<th>Last Seen</th>
</tr>
<!-- TMPL_LOOP NAME="branchloop" -->
<!-- TMPL_IF NAME="selected" -->
<tr class="mybranch">
<!-- TMPL_ELSE -->
<tr>
<!-- /TMPL_IF -->
<td><!-- TMPL_VAR NAME="branchname" --></td>
<td><!-- TMPL_VAR NAME="issues" --></td>
<td><!-- TMPL_IF NAME="seen" -->
<span style="display:none;"><!-- TMPL_VAR NAME="seen" --><!-- TMPL_VAR NAME="seentime" --></span>
<!-- invisible span for eventual use by tablesorter -->
<!-- TMPL_VAR NAME="seentime" DEFAULT="??:??" --> <!-- TMPL_VAR NAME="seen" -->
<!-- TMPL_ELSE -->Never
<!-- /TMPL_IF -->
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
</div>
</div>
<div class="yui-b">
<!-- TMPL_INCLUDE NAME="biblio-view-menu.inc" -->
</div>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->