This commit is contained in:
Norman Jäckel 2012-07-05 00:23:42 +02:00
parent a41aba04f0
commit 812d7a3c83

View File

@ -28,7 +28,7 @@
{% if perms.agenda.can_manage_agenda %}
{# edit item #}
{% url item_edit item.id as url_itemedit %}
<li class="{% if request.path == url_itemedit %}selected{% endif %}"><a href="{% url item_edit item.id %}">{%trans 'Edit item' %}</a></li>
<li class="{% if request.path == url_itemedit %}selected{% endif %}"><a href="{% url item_edit item.id %}"><img src="{% static 'images/icons/edit.png' %}"> {%trans 'Edit item' %}</a></li>
{# delete item #}
<li><a href="{% url item_delete item.id %}"><img src="{% static 'images/icons/delete.png' %}"> {%trans 'Delete item' %}</a></li>
{% endif %}
@ -40,3 +40,4 @@
</ul>
{% endif %}
{% endblock %}