diff --git a/openslides/assignment/templates/assignment/view.html b/openslides/assignment/templates/assignment/view.html index 9830e24f3..b5a886dc4 100644 --- a/openslides/assignment/templates/assignment/view.html +++ b/openslides/assignment/templates/assignment/view.html @@ -126,15 +126,19 @@ {% trans "Candidates" %} {% for poll in assignment.poll_set.all %} {% if perms.assignment.can_manage_assignment %}{% endif %} - {{ forloop.counter }}. + {{ forloop.counter }}. {% trans 'ballot' %} {% if perms.assignment.can_manage_assignment %} - {% if poll.published %} - unpublish + {% else %} - publish + {% endif %} + {% endif %} {% endfor %}