From fbf22564931ddbeaa3e696be25b1515a1978f3c1 Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Mon, 14 May 2012 21:55:02 +0200 Subject: [PATCH] #182: Wrong permission for edit button in view template. --- openslides/agenda/templates/agenda/view.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openslides/agenda/templates/agenda/view.html b/openslides/agenda/templates/agenda/view.html index f50e36ffd..718c4762f 100644 --- a/openslides/agenda/templates/agenda/view.html +++ b/openslides/agenda/templates/agenda/view.html @@ -8,7 +8,8 @@

{{ item }}

{{ item.get_text|safe|linebreaks }}

- {% if perms.agenda.can_manage_agenda and item.comment %} + {% if perms.agenda.can_manage_agenda %} + {% if item.comment %}

{% trans "Comment" %}

{{ item.comment|linebreaks }}

{% endif %} @@ -20,4 +21,5 @@

+ {% endif %} {% endblock %}