#79: Merged fix of r361 from default branch into 1.2-dev branch.

This commit is contained in:
Emanuel Schuetze 2012-04-02 08:30:28 +02:00
parent b480db2e8a
commit c2ec9e958f
5 changed files with 4 additions and 4 deletions

View File

@ -169,7 +169,7 @@
{% if perms.assignment.can_manage_assignment %} {% if perms.assignment.can_manage_assignment %}
<a class="election_link elected" href='{% url assignment_user_not_elected assignment.id candidate.0.id %}'></a> <a class="election_link elected" href='{% url assignment_user_not_elected assignment.id candidate.0.id %}'></a>
{% else %} {% else %}
<a class="elected"><img src="/static/images/icons/games-highscores.png" title="{% trans 'Candidate is elected' %}"></a> <a class="elected"><img src="/static/images/icons/voting-yes.png" title="{% trans 'Candidate is elected' %}"></a>
{% endif %} {% endif %}
{% else %} {% else %}
{% if perms.assignment.can_manage_assignment %} {% if perms.assignment.can_manage_assignment %}

View File

@ -61,7 +61,7 @@
{% with vote|first as candidate %} {% with vote|first as candidate %}
<td class="candidate {% if candidate.1 %}elected{% endif %}"> <td class="candidate {% if candidate.1 %}elected{% endif %}">
{% if candidate.1 %} {% if candidate.1 %}
<a class="elected"><img src="/static/images/icons/games-highscores.png" title="{% trans 'Candidate is elected' %}"></a> <a class="elected"><img src="/static/images/icons/voting-yes.png" title="{% trans 'Candidate is elected' %}"></a>
{% endif %} {% endif %}
{{ candidate.0 }} {{ candidate.0 }}
</td> </td>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 876 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -3,7 +3,7 @@ td.elected {
} }
td.elected a.election_link { td.elected a.election_link {
background-image: url(/static/images/icons/games-highscores.png); background-image: url(/static/images/icons/voting-yes.png);
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
width: 16px; width: 16px;
@ -14,7 +14,7 @@ td.elected a.election_link {
} }
td a.election_link { td a.election_link {
background-image: url(/static/images/icons/games-highscores-grey.png); background-image: url(/static/images/icons/voting-yes-grey.png);
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
width: 16px; width: 16px;