Fix for Bug 5715, Adding note about ReservesMaxPickUpDelay value

Also correcting display of itemtype based on item-level_itype preference

Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Owen Leonard 2011-02-08 22:05:39 -05:00 committed by Chris Cormack
parent 311d051f77
commit 9319ab3254
2 changed files with 4 additions and 2 deletions

View file

@ -155,7 +155,8 @@ $template->param(
overloop => \@overloop,
overcount => $overcount,
show_date => format_date(C4::Dates->today('iso')),
dateformat => C4::Context->preference("dateformat"),
dateformat => C4::Context->preference("dateformat"),
ReservesMaxPickUpDelay => C4::Context->preference('ReservesMaxPickUpDelay')
);
output_html_with_http_headers $input, $cookie, $template->output;

View file

@ -116,6 +116,7 @@ $.tablesorter.addParser({
<!-- /TMPL_IF -->
</div>
<div id="holdsover">
<p>Holds listed here have been awaiting pickup for more than <!-- TMPL_VAR NAME="ReservesMaxPickUpDelay" --> days.</p>
<!-- TMPL_IF NAME="overloop" -->
<table id="holdso">
<thead><tr>
@ -130,7 +131,7 @@ $.tablesorter.addParser({
<td><p><!-- TMPL_VAR NAME="waitingdate" --></p></td>
<td><!-- TMPL_INCLUDE NAME="biblio-default-view.inc" --><!-- TMPL_VAR NAME="title" escape="html" --> <!-- TMPL_VAR NAME="subtitle" ESCAPE="html" -->
</a>
&nbsp; (<b><!-- TMPL_VAR NAME="itemtype" --></b>)
<!-- TMPL_UNLESS NAME="item_level_itypes" --><!-- TMPL_IF NAME="itemtype" -->&nbsp; (<b><!-- TMPL_VAR NAME="itemtype" --></b>)<!-- /TMPL_IF --><!-- /TMPL_UNLESS -->
<br />Barcode: <!-- TMPL_VAR NAME="barcode" -->
</td>
<td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!--TMPL_VAR Name="borrowernum"-->"><!-- TMPL_VAR NAME="borrowername" -->, <!-- TMPL_VAR NAME="borrowerfirstname" --></a><br /><!-- TMPL_VAR NAME="borrowerphone" --><br />