#182: Wrong permission for edit button in view template.
This commit is contained in:
parent
d8807ba979
commit
fbf2256493
@ -8,7 +8,8 @@
|
|||||||
<h1>{{ item }}</h1>
|
<h1>{{ item }}</h1>
|
||||||
<p>{{ item.get_text|safe|linebreaks }}</p>
|
<p>{{ item.get_text|safe|linebreaks }}</p>
|
||||||
|
|
||||||
{% if perms.agenda.can_manage_agenda and item.comment %}
|
{% if perms.agenda.can_manage_agenda %}
|
||||||
|
{% if item.comment %}
|
||||||
<h2>{% trans "Comment" %}</h2>
|
<h2>{% trans "Comment" %}</h2>
|
||||||
<p>{{ item.comment|linebreaks }}</p>
|
<p>{{ item.comment|linebreaks }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -20,4 +21,5 @@
|
|||||||
</button>
|
</button>
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user