Terminology correction: cancelled -> withdrawn. Also adding dateformat variable to new holds queue script to allow correct table sorting with metric dates.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Owen Leonard 2008-05-22 09:49:40 -05:00 committed by Joshua Ferraro
parent 5675b8d5e4
commit bcca5c9584
3 changed files with 4 additions and 3 deletions

View File

@ -55,7 +55,8 @@ if ( $run_report ) {
branch => $branchlimit,
total => scalar @$items,
itemsloop => $items,
run_report => $run_report
run_report => $run_report,
dateformat => C4::Context->preference("dateformat"),
);
}

View File

@ -248,7 +248,7 @@ function Dopop(link) {
<p class="problem">Item was lost, now found.</p>
<!-- /TMPL_IF -->
<!-- TMPL_IF Name="withdrawn" -->
<p class="problem">Item Cancelled</p>
<p class="problem">Item is withdrawn.</p>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
<!-- /TMPL_IF -->

View File

@ -270,7 +270,7 @@
<!-- TMPL_IF name="lostimageurl"--><img src="<!-- TMPL_VAR NAME="lostimageurl" -->" alt="<!-- TMPL_VAR NAME="lostimagelabel" -->" title="<!-- TMPL_VAR NAME="lostimagelabel" -->"><!-- TMPL_ELSE -->Item lost<!-- /TMPL_IF -->
<!-- TMPL_ELSE -->
<!-- TMPL_IF NAME="wthdrawn" -->
Item Cancelled
Item withdrawn
<!-- TMPL_ELSE -->
Available
<!-- /TMPL_IF -->