koha-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-bugs] [Bug 615] New: opac-user.pl vanilla template doesn't display


From: bugzilla-daemon
Subject: [Koha-bugs] [Bug 615] New: opac-user.pl vanilla template doesn't display renewable status correctly
Date: 17 Sep 2003 19:42:38 -0000

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: address@hidden
        ReportedBy: address@hidden
         QAContact: address@hidden


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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]