This commit is contained in:
Norman Jäckel 2012-06-27 23:29:06 +02:00
parent 5311c7ae31
commit 409bfda353
1 changed files with 9 additions and 10 deletions

View File

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