[Bug 615] New: opac-user.pl vanilla template doesn't display renewable status correctly
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@katipo.co.nz ReportedBy: oleonard@athenscounty.lib.oh.us QAContact: koha-bugs@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.
participants (1)
-
bugzilla-daemon@wilbur.katipo.co.nz