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 %}
<h4>{% trans "Number of available posts" %}:</h4> {% if item.assignment.status == "sea" or item.assignment.status == "vot" %}
{{ item.assignment.posts }} <h4>{% trans "Number of available posts" %}:</h4>
</div> {{ item.assignment.posts }}
</div>
{% endif %} {% endif %}
</div>
</div>
<p> <p>
<div class="text">{{ item.assignment.description|linebreaks }}</div> <div class="text">{{ item.assignment.description|linebreaks }}</div>