#186: Fixed published polls/ballot column on projector template.

This commit is contained in:
Emanuel Schuetze 2012-05-19 08:09:18 +02:00
parent 2dc156ef74
commit 07c587a025
1 changed files with 1 additions and 3 deletions

View File

@ -47,8 +47,7 @@
<p><br></p>
{% endif %}
{% with polls|first as firstpoll %}
{% if polls.count > 0 and firstpoll.published %}
{% if polls.count > 0 %}
<h3>{% trans "Election results" %}</h3>
<table>
<tr>
@ -106,7 +105,6 @@
</tr>
</table>
{% endif %}
{% endwith %}
<br>
{% endblock %}