Fix assignment overview table, ticket #372
This commit is contained in:
parent
e7aab1d2a8
commit
d0771063b3
@ -31,7 +31,12 @@
|
|||||||
<tr class="{% cycle '' 'odd' %}
|
<tr class="{% cycle '' 'odd' %}
|
||||||
{% if assignment.active %}activeline{% endif %}">
|
{% if assignment.active %}activeline{% endif %}">
|
||||||
<td><a href="{% url assignment_view assignment.id %}">{{ assignment }}</a></td>
|
<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>{{ assignment.get_status_display }}</td>
|
||||||
<td>
|
<td>
|
||||||
<span style="width: 1px; white-space: nowrap;">
|
<span style="width: 1px; white-space: nowrap;">
|
||||||
|
Loading…
Reference in New Issue
Block a user