Insert Edit Symbol (Ticket 207)

This commit is contained in:
Norman Jäckel 2012-06-23 09:32:21 +02:00
parent b6cb4223f2
commit a439794874
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@
{# edit application #}
{% if "edit" in actions %}
{% url application_edit application.id as url_applicationedit %}
<li class="{% if request.path == url_applicationedit %}selected{% endif %}"><a href="{% url application_edit application.id %}">{%trans 'Edit application' %}</a></li>
<li class="{% if request.path == url_applicationedit %}selected{% endif %}"><a href="{% url application_edit application.id %}"><img src="{% static 'images/icons/edit.png' %}"> {%trans 'Edit application' %}</a></li>
{% endif %}
{# delete application #}
{% if "delete" in actions %}

View File

@ -32,7 +32,7 @@
{% if perms.assignment.can_manage_assignment %}
{# edit assignemnt #}
{% url assignment_edit assignment.id as url_assignmentedit %}
<li class="{% if request.path == url_assignmentedit %}selected{% endif %}"><a href="{% url assignment_edit assignment.id %}">{%trans 'Edit election' %}</a></li>
<li class="{% if request.path == url_assignmentedit %}selected{% endif %}"><a href="{% url assignment_edit assignment.id %}"><img src="{% static 'images/icons/edit.png' %}"> {%trans 'Edit election' %}</a></li>
{# delete assignment #}
<li><a href="{% url assignment_delete assignment.id %}"><img src="{% static 'images/icons/delete.png' %}"> {%trans 'Delete election' %}</a></li>
{% endif %}