From 0ab900cb7a78c6b7d4d4c6d098e44480c3200d4f Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Wed, 23 May 2012 14:30:42 +0200 Subject: [PATCH] Fixed missing permission of agenda submenu. --- openslides/agenda/templates/agenda/base_agenda.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/openslides/agenda/templates/agenda/base_agenda.html b/openslides/agenda/templates/agenda/base_agenda.html index 06fd02f9b..fa31b5047 100644 --- a/openslides/agenda/templates/agenda/base_agenda.html +++ b/openslides/agenda/templates/agenda/base_agenda.html @@ -24,15 +24,19 @@ {# view item #} {% url item_view item.id as url_itemview %}
  • {%trans 'View item' %}
  • + + {% if perms.agenda.can_manage_agenda %} {# edit item #} {% url item_edit item.id as url_itemedit %}
  • {%trans 'Edit item' %}
  • {# delete item #}
  • {%trans 'Delete item' %}
  • + {% endif %} + {# activate item #} - {% if perms.projector.can_manage_projector %} -
  • {%trans 'Show item' %}
  • - {% endif %} + {% if perms.projector.can_manage_projector %} +
  • {%trans 'Show item' %}
  • + {% endif %} {% endif %} {% endblock %} \ No newline at end of file