ad2babecf3
search so the alert stands out. Previously no css was applied to it so it was just plain text. Librarians weren't noticing it. Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
105 lines
4.9 KiB
Cheetah
105 lines
4.9 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha › Patrons <!-- TMPL_IF NAME="searching" -->› Search Results<!-- /TMPL_IF --></title>
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
</head>
|
|
<body>
|
|
<!-- TMPL_INCLUDE NAME="header.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="patron-search.inc" -->
|
|
|
|
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <!-- TMPL_IF NAME="searching" --><a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> › Search Results<!-- TMPL_ELSE -->Patrons<!-- /TMPL_IF --></div>
|
|
|
|
<div id="doc2" class="yui-t7">
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-b">
|
|
<div class="yui-g">
|
|
|
|
<!-- TMPL_INCLUDE NAME="patron-toolbar.inc" -->
|
|
|
|
<div class="browse">
|
|
Browse by last name:
|
|
<!-- TMPL_LOOP name="letters" -->
|
|
<a href="/cgi-bin/koha/members/member.pl?quicksearch=1&surname=<!-- TMPL_VAR NAME="letter" -->"><!-- TMPL_VAR NAME="letter" --></a>
|
|
<!-- /TMPL_LOOP -->
|
|
</div>
|
|
|
|
|
|
<!-- TMPL_IF NAME="resultsloop" -->
|
|
<div id="searchheader"> <h3>Results <!-- TMPL_VAR Name ="from" --> to <!-- TMPL_VAR Name ="to" --> of <!-- TMPL_VAR Name ="numresults" --> found for <!--TMPL_IF Name="member"-->'<span class="ex"><!-- TMPL_VAR NAME="member" --></span>'<!--/TMPL_IF--><!--TMPL_IF Name="surname"-->'<span class="ex"><!-- TMPL_VAR NAME="surname" --></span>'<!--/TMPL_IF--></h3></div>
|
|
<div class="searchresults">
|
|
|
|
<table id="memberresultst">
|
|
<thead>
|
|
<tr>
|
|
<th>Card</th>
|
|
<th>Name</th>
|
|
<th>Cat</th>
|
|
<th>Library</th>
|
|
<th>Expires on</th>
|
|
<th>OD/Checkouts</th>
|
|
<th>Fines</th>
|
|
<th>Circ note</th>
|
|
<th> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<!-- TMPL_LOOP NAME="resultsloop" -->
|
|
<!-- TMPL_IF name="overdue" -->
|
|
<tr class="problem">
|
|
<!-- TMPL_ELSE -->
|
|
<!-- TMPL_UNLESS name="__odd__" -->
|
|
<tr class="highlight">
|
|
<!-- TMPL_ELSE -->
|
|
<tr>
|
|
<!-- /TMPL_UNLESS -->
|
|
<!-- /TMPL_IF -->
|
|
<td><!-- TMPL_VAR NAME="cardnumber" --></td>
|
|
<td style="white-space: nowrap;"><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME="surname" -->, <!-- TMPL_VAR NAME="firstname" --></a> <br /> <!-- TMPL_VAR NAME="address" --><!-- TMPL_IF NAME="address2" --><br /><!-- TMPL_VAR NAME="address2" --><!-- /TMPL_IF --><!-- TMPL_IF NAME="city" --><br /><!-- TMPL_VAR NAME=city --><!-- /TMPL_IF --><!-- TMPL_IF NAME="zipcode" --> <!-- TMPL_VAR NAME="zipcode" --><!-- /TMPL_IF --><!-- TMPL_IF NAME="country" -->, <!-- TMPL_VAR NAME="country" --><!-- /TMPL_IF --></td>
|
|
<td><!-- TMPL_VAR NAME="category_description" --> (<!-- TMPL_VAR name="category_type" -->)</td>
|
|
<td><!-- TMPL_VAR NAME="branchcode" --></td>
|
|
<td><!-- TMPL_VAR NAME="dateexpiry" --></td>
|
|
<td><!-- TMPL_IF "overdues" --><span class="overdue"><strong><!-- TMPL_VAR NAME="overdues" --></strong></span><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="overdues" --><!-- /TMPL_IF -->/<!-- TMPL_VAR NAME="issues" --></td>
|
|
<td><!-- TMPL_VAR NAME="fines" --></td>
|
|
<td><!-- TMPL_VAR NAME="borrowernotes" --></td>
|
|
<td><!-- TMPL_IF NAME="category_type" -->
|
|
<a href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&category_type=<!-- TMPL_VAR NAME="category_type"-->">Edit</a>
|
|
<!-- TMPL_ELSE --> <!-- try with categorycode if no category_type -->
|
|
<!-- TMPL_IF NAME="categorycode" -->
|
|
<a href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&categorycode=<!-- TMPL_VAR NAME="categorycode"-->">Edit</a>
|
|
<!-- TMPL_ELSE --> <!-- if no categorycode, set category_type to A by default -->
|
|
<a href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&category_type=A">Edit</a>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF --></td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP -->
|
|
</tbody>
|
|
</table>
|
|
<div class="pages"><!--TMPL_IF Name="multipage"--><!--TMPL_VAR Name="paginationbar" --><!--/TMPL_IF--></div>
|
|
</div>
|
|
<!-- TMPL_ELSE -->
|
|
<!-- TMPL_IF NAME="searching" -->
|
|
<div class="dialog alert">No results found</div>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="yui-g">
|
|
<!-- TMPL_INCLUDE NAME="members-menu.inc" -->
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
|
|
<script type="text/javascript">//<![CDATA[
|
|
$(document).ready(function() {
|
|
$("#memberresultst").tablesorter({
|
|
sortList: [[1,0]],
|
|
widgets: ['zebra']
|
|
});
|
|
});
|
|
//]]>
|
|
</script>
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|