Fix assignment overview table, ticket #372

This commit is contained in:
Norman Jäckel 2012-10-25 21:08:29 +02:00
parent e7aab1d2a8
commit d0771063b3
1 changed files with 6 additions and 1 deletions

View File

@ -31,7 +31,12 @@
<tr class="{% cycle '' 'odd' %}
{% if assignment.active %}activeline{% endif %}">
<td><a href="{% url assignment_view assignment.id %}">{{ assignment }}</a></td>
<td>{{ assignment.candidates|length }} / {{ assignment.posts }}</td>
<td>
{{ assignment.posts }} {% trans "posts" %} / {{ assignment.elected|length }} {% trans "elected" %}
{% if assignment.status != 'fin' %}
/ {{ assignment.candidates|length }} {% trans "candidates" %}
{% endif %}
</td>
<td>{{ assignment.get_status_display }}</td>
<td>
<span style="width: 1px; white-space: nowrap;">