Fixed missing check for activeline in assignment overview.
This commit is contained in:
parent
07c587a025
commit
188fe4cce5
@ -28,7 +28,8 @@
|
|||||||
<th style="width: 1px;">{% trans "Actions" %}</th>
|
<th style="width: 1px;">{% trans "Actions" %}</th>
|
||||||
</tr>
|
</tr>
|
||||||
{% for assignment in assignments %}
|
{% for assignment in assignments %}
|
||||||
<tr class="{% cycle '' 'odd' %}">
|
<tr class="{% cycle '' 'odd' %}
|
||||||
|
{% 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.profile.count }} / {{ assignment.posts }}</td>
|
<td>{{ assignment.profile.count }} / {{ assignment.posts }}</td>
|
||||||
<td>{{ assignment.get_status_display }}</td>
|
<td>{{ assignment.get_status_display }}</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user