Beamer: Display election status finished.

This commit is contained in:
Emanuel Schuetze 2011-09-05 21:53:15 +02:00
parent f412e9065a
commit 7eac8cda5d

View File

@ -4,16 +4,17 @@
{% trans "Election" %}: {% trans "Election" %}:
<h1>{{ item.assignment }}</h1> <h1>{{ item.assignment }}</h1>
{% if item.assignment.status == "sea" or item.assignment.status == "vot" %}
<div id="sidebar"> <div id="sidebar">
<div class="box"> <div class="box">
<h4>{% trans "Status" %}:</h4> <h4>{% trans "Status" %}:</h4>
{% trans item.assignment.get_status_display %} {% trans item.assignment.get_status_display %}
{% if item.assignment.status == "sea" or item.assignment.status == "vot" %}
<h4>{% trans "Number of available posts" %}:</h4> <h4>{% trans "Number of available posts" %}:</h4>
{{ item.assignment.posts }} {{ item.assignment.posts }}
</div>
</div>
{% endif %} {% endif %}
</div>
</div>
<p> <p>
<div class="text">{{ item.assignment.description|linebreaks }}</div> <div class="text">{{ item.assignment.description|linebreaks }}</div>