From f711f96265c7fc52debc8ed78e64d31c017f8a4d Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Fri, 20 Apr 2012 22:58:34 +0200 Subject: [PATCH] #107: New actions column for elections. --- .../templates/assignment/overview.html | 23 ++++++++++++------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/openslides/assignment/templates/assignment/overview.html b/openslides/assignment/templates/assignment/overview.html index 69aed5def..45c6af90b 100644 --- a/openslides/assignment/templates/assignment/overview.html +++ b/openslides/assignment/templates/assignment/overview.html @@ -25,20 +25,27 @@ {%trans "Election" %} {%trans "Candidates" %} {%trans "Status" %} - {% if perms.assignment.can_manage_assignment %} - {%trans "Actions" %} - {% endif %} + {% trans "Actions" %} {% for assignment in assignments %} {{ assignment }} {{ assignment.profile.count }} / {{ assignment.posts }} {{ assignment.get_status_display }} - {% if perms.assignment.can_manage_assignment %} - - - - {% endif %} + + + {% if perms.projector.can_manage_projector %} + + + + {% endif %} + {% if perms.assignment.can_manage_assignment %} + + + {% endif %} + + + {% empty %}