Merge pull request #1524 from ostcar/not_elected_tooltip

Fixed tooltip to set an candidate in a assignment as not elected.
This commit is contained in:
Norman Jäckel 2015-05-29 13:17:40 +02:00
commit eb2f3c0a58

View File

@ -196,7 +196,7 @@
{% if candidate in assignment.elected %}
{% if perms.assignment.can_manage_assignment %}
<a class="election_link elected tooltip-bottom" href="{% url 'assignment_user_not_elected' assignment.id candidate.person_id %}"
data-original-title="{% trans 'Mark candidate as elected' %}"></a>
data-original-title="{% trans 'Mark candidate as not elected' %}"></a>
{% else %}
<a class="elected">
<img src="{% static 'img/voting-yes.png' %}" class="tooltip-bottom" data-original-title="{% trans 'Candidate is elected' %}">