[Koha-bugs] [Bug 615] New: opac-user.pl vanilla template doesn't display renewable status correctly
bugzilla-daemon at wilbur.katipo.co.nz
bugzilla-daemon at wilbur.katipo.co.nz
Wed Sep 17 21:42:38 CEST 2003
http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=615
Summary: opac-user.pl vanilla template doesn't display renewable
status correctly
Product: Koha
Version: CVS
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: OPAC
AssignedTo: chris at katipo.co.nz
ReportedBy: oleonard at athenscounty.lib.oh.us
QAContact: koha-bugs at lists.sourceforge.net
The 'vanilla' template for opac-user.pl has this block of code:
<TMPL_IF NAME="renewable">
<A HREF='/cgi-bin/koha/opac-renew.pl?from=opac_user&item=<TMPL_VAR
NAME="itemnumber">&bornum=<TMPL_VAR NAME="borrowernumber">' class="padded">Renew</A>
<TMPL_ELSE>
Not renewable
</TMPL_IF>
The problem is, it ALWAYS shows 'not renewable.' The default template seems to
get it right with this check:
<TMPL_IF NAME="status">
Renewable...
<TMPL_ELSE>
Not renewable...
</TMPL_IF>
So where did '<TMPL_IF NAME="renewable">' come from? Just a mistake?
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the Koha-bugs
mailing list