This commit is contained in:
Norman Jäckel 2012-06-27 23:29:06 +02:00
parent 5311c7ae31
commit 409bfda353

View File

@ -10,20 +10,19 @@
<script type="text/javascript" src="{% static 'javascript/assignment.js' %}"></script>
{% endblock %}
{% block content %}
<h1>{% trans "Election" %}: {{ assignment }}</h1>
{% if assignment.status != "fin" %}
<div id="sidebar">
<div class="box">
<p><b>{% trans "Status" %}:</b><br>
{% trans assignment.get_status_display %}</p>
{% if assignment.status == "sea" or assignment.status == "vot" %}
<p><b>{% trans "Number of available posts" %}:</b><br>
{{ assignment.posts }}</p>
{% endif %}
</div>
<div class="box">
<p><b>{% trans "Status" %}:</b><br>
{% trans assignment.get_status_display %}</p>
{% if assignment.status == "sea" or assignment.status == "vot" %}
<p><b>{% trans "Number of available posts" %}:</b><br>
{{ assignment.posts }}</p>
{% endif %}
</div>
</div>
{% endif %}
<h1>{% trans "Election" %}: {{ assignment }}</h1>
{% endblock %}
{% block scrollcontent %}