Posted on Jun 10, 2011 by
Happy Kangaroo
What steps will reproduce the problem? {% if pagename=='camconfig' %} class="rex-current sub1" {% else %} class="rex-normal sub1" {% endif %}
What do you see instead? I expected the == operator to work like in django, instead the Comparison always evaluates to false.
What version of the product are you using? On what operating system? current jangod-template.jar
Comment #1
Posted on Jul 6, 2011 by Quick HippoI guess you could use "equal" filter to achieve that. Like:
{% if pagename|equal:'camconfig' %}
Status: New
Labels:
Type-Defect
Priority-Medium