diff --git a/openslides/application/templates/application/base_application.html b/openslides/application/templates/application/base_application.html index dac22d596..f77ca34c9 100644 --- a/openslides/application/templates/application/base_application.html +++ b/openslides/application/templates/application/base_application.html @@ -39,21 +39,18 @@ {% endif %} {# delete application #} {% if "delete" in actions %} -
  • {%trans 'Delete application' %}
  • +
  • {%trans 'Delete application' %}
  • {% endif %} {# PDF #}
  • {%trans 'Application as PDF' %}
  • {# activate and polls #} {% if perms.projector.can_manage_projector %}
  • {%trans 'Show Application' %}
  • - {% if "genpoll" in actions %} -
  • {%trans 'New vote' %}
  • - {% endif %} + {% endif %} + {% if perms.application.can_manage_application %} {% for poll in application.polls %} {% url application_poll_view poll.id as url_applicationpollview %} -
  • {% trans "View Vote" %} {% if forloop.counter > 1 %}(#{{ forloop.counter }}){% endif %}
  • - {% url print_application_poll poll.id as url_applicationedit %} -
  • {%trans 'Ballot paper' %} {% if forloop.counter > 1 %}(#{{ forloop.counter }}){% endif %}
  • +
  • {{ forloop.counter }}. {% trans "Vote" %}
  • {% endfor %} {% endif %} diff --git a/openslides/application/templates/application/poll_view.html b/openslides/application/templates/application/poll_view.html index 41f8e9d70..fa9c8d8ab 100644 --- a/openslides/application/templates/application/poll_view.html +++ b/openslides/application/templates/application/poll_view.html @@ -14,6 +14,13 @@
    {% csrf_token %} {{ pre_form }} + + + + + diff --git a/openslides/assignment/templates/assignment/base_assignment.html b/openslides/assignment/templates/assignment/base_assignment.html index a000ea7f6..581c1f536 100644 --- a/openslides/assignment/templates/assignment/base_assignment.html +++ b/openslides/assignment/templates/assignment/base_assignment.html @@ -46,15 +46,10 @@ {% endif %} {# polls #} - {% if assignment.profile.count > 0 and perms.assignment.can_manage_assignment and assignment.status == "vot" %} -
  • {%trans 'New vote' %}
  • - {% endif %} - {% if perms.projector.can_manage_projector %} + {% if perms.assignment.can_manage_assignment %} {% for poll in polls %} {% url assignment_poll_view poll.id as url_assignmentpollview %} -
  • {% trans "View Vote" %} {% if forloop.counter > 1 %}(#{{ forloop.counter }}){% endif %}
  • - {% url print_assignment_poll poll.id as url_assignmentedit %} -
  • {%trans 'Ballot paper' %} {% if forloop.counter > 1 %}(#{{ forloop.counter }}){% endif %}
  • +
  • {{ forloop.counter }}. {% trans "ballot" %}
  • {% endfor %} {% endif %} diff --git a/openslides/assignment/templates/assignment/poll_view.html b/openslides/assignment/templates/assignment/poll_view.html index de1b943f7..ee3366114 100644 --- a/openslides/assignment/templates/assignment/poll_view.html +++ b/openslides/assignment/templates/assignment/poll_view.html @@ -14,6 +14,13 @@ {% endif %} {% trans "Special values" %}: -1 = {% trans 'majority' %}; -2 = {% trans 'undocumented' %}{% csrf_token %} + + + + +
    {% trans "Option" %}
    Option