#287 fix elected candidate in assignment-slide
This commit is contained in:
parent
1b0a9b27ef
commit
88cb44e0c3
@ -61,7 +61,7 @@
|
|||||||
|
|
||||||
{% for candidate, poll_list in vote_results.items %}
|
{% for candidate, poll_list in vote_results.items %}
|
||||||
<tr class="{% cycle 'odd' '' %}">
|
<tr class="{% cycle 'odd' '' %}">
|
||||||
<td class="candidate{% if candidate.1 %} elected{% endif %}">
|
<td class="candidate{% if candidate in assignment.elected.all %} elected{% endif %}">
|
||||||
{% if candidate in assignment.elected.all %}
|
{% if candidate in assignment.elected.all %}
|
||||||
<a class="elected">
|
<a class="elected">
|
||||||
<img src="{% static 'images/icons/voting-yes.png' %}" title="{% trans 'Candidate is elected' %}">
|
<img src="{% static 'images/icons/voting-yes.png' %}" title="{% trans 'Candidate is elected' %}">
|
||||||
|
Loading…
Reference in New Issue
Block a user