fix #153 No display of thumbs in report

This commit is contained in:
Nicolas Le Goff
2012-01-04 15:15:47 +01:00
parent 43fbee03c2
commit b321d1540e
2 changed files with 10 additions and 10 deletions

View File

@@ -74,18 +74,18 @@
{% endif %}
{% for class, config in result.display %}
<td class="{{ class }}">
{% for key , result in value %}
{% for key , res in value %}
{% if key == class %}
{% if config.bound == 1 and "</i>" not in result %}
{% if config.bound == 1 and "</i>" not in res %}
{% if key == "user" and value.user == "<b>TOTAL</b>"%}
{{ result|raw }}
{{ res|raw }}
{% elseif is_nav or is_doc %}
<a href="#" rel ="" class="{{result}} bound">{{ result|raw }}</a>
<a href="#" rel ="" class="{{res}} bound">{{ res|raw }}</a>
{% else %}
<a href="#" rel ="" class="{{value.usrid}} bound">{{ result|raw }}</a>
<a href="#" rel ="" class="{{value.usrid}} bound">{{ res|raw }}</a>
{% endif %}
{% else %}
{{ result|raw }}
{{ res|raw }}
{% endif %}
{% endif %}
{% endfor %}