Fix #257
This commit is contained in:
parent
5311c7ae31
commit
409bfda353
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in New Issue