diff --git a/openslides/agenda/templates/agenda/overview.html b/openslides/agenda/templates/agenda/overview.html index 6b96db6db..f044a185f 100644 --- a/openslides/agenda/templates/agenda/overview.html +++ b/openslides/agenda/templates/agenda/overview.html @@ -46,36 +46,37 @@
-
+
+ {% if perms.agenda.can_manage_agenda %} +

{% trans 'Number agenda items' %} +

+ {% endif %} +

{{ items|length }} {% blocktrans count counter=items|length %}item{% plural %}items{% endblocktrans %} +

-
- {% if perms.agenda.can_see_orga_items %} - {% if start and end %} - - - - - - - - - -
{% trans "Start of event" %}:{{ start|date:"DATETIME_FORMAT" }}
{% trans "Estimated end" %}:{{ end|date:"DATETIME_FORMAT" }}
- {% else %} - {% trans 'Set start time of event' %} - {% endif %} - {% if perms.agenda.can_manage_agenda %} - {% trans 'Number agenda items' %} - {% endif %} + {% if perms.agenda.can_see_orga_items %} + {% if start and end %} + + + + + + + + + +
{% trans "Start of event" %}:{{ start|date:"DATETIME_FORMAT" }}
{% trans "Estimated end" %}:{{ end|date:"DATETIME_FORMAT" }}
+ {% elif perms.config.can_manage %} + {% trans 'Set start time of event' %} {% endif %} -
+ {% endif %}
diff --git a/openslides/assignment/templates/assignment/assignment_list.html b/openslides/assignment/templates/assignment/assignment_list.html index e7720ebb3..5ea62fcdf 100644 --- a/openslides/assignment/templates/assignment/assignment_list.html +++ b/openslides/assignment/templates/assignment/assignment_list.html @@ -33,7 +33,9 @@ - + {% if perms.assignment.can_manage_assignment or perms.core.can_manage_projector %} + + {% endif %} {% for object in object_list %} @@ -51,6 +53,7 @@ | {% trans "Elected" %}: {{ object.elected|length }} + {% if perms.assignment.can_manage_assignment or perms.core.can_manage_projector %} + {% endif %} {% endfor %} diff --git a/openslides/motion/templates/motion/motion_list.html b/openslides/motion/templates/motion/motion_list.html index 5d7b64c31..53be1324c 100644 --- a/openslides/motion/templates/motion/motion_list.html +++ b/openslides/motion/templates/motion/motion_list.html @@ -56,7 +56,9 @@ {% trans "Supporters" %} {% endif %} {% trans "Last changes" %} - {% trans "Actions" %} + {% if perms.motion.can_manage_motion or perms.core.can_manage_projector %} + {% trans "Actions" %} + {% endif %} {% for motion in motion_list %} @@ -88,6 +90,7 @@ {% endif %} + {% if perms.motion.can_manage_motion or perms.core.can_manage_projector %} {% if perms.core.can_manage_projector %} @@ -106,6 +109,7 @@ {% endif %} + {% endif %} {% endfor %}