- {% else %}
- {% trans 'The list of speakers is empty.' %}
- {% endif %}
-
-
+{% else %}
+ {% trans 'The list of speakers is empty.' %}
+{% endif %}
diff --git a/openslides/assignment/templates/assignment/slide.html b/openslides/assignment/templates/assignment/slide.html
index 70cc54c36..814e4adc6 100644
--- a/openslides/assignment/templates/assignment/slide.html
+++ b/openslides/assignment/templates/assignment/slide.html
@@ -19,94 +19,93 @@
-
- {% if not assignment.candidates %}
-
-
{{ assignment.description|linebreaks }}
-
- {% endif %}
- {% if assignment.candidates and assignment.status != "fin" %}
-
{% trans "Candidates" %}
-
- {% for candidate in assignment.candidates %}
-
{{ candidate }}
- {% empty %}
-
- {% trans "No candidates available." %}
-
- {% endfor %}
-
-
- {% endif %}
+{% if not assignment.candidates %}
+
+
{{ assignment.description|linebreaks }}
+
+{% endif %}
- {% if polls.exists %}
-
{% trans "Election results" %}
-
+{% if assignment.candidates and assignment.status != "fin" %}
+
{% trans "Candidates" %}
+
+ {% for candidate in assignment.candidates %}
+
{{ candidate }}
+ {% empty %}
+
+ {% trans "No candidates available." %}
+
+ {% endfor %}
+
+
+{% endif %}
+
+{% if polls.exists %}
+
{% trans "Election results" %}
+
+
+
{% trans "Candidates" %}
+ {% for poll in polls %}
+
+ {{ poll.get_ballot }}. {% trans "ballot" %}
+
+ {% endfor %}
+
+ {% for candidate, poll_list in vote_results.items %}
-
{% trans "Candidates" %}
- {% for poll in polls %}
-
- {{ poll.get_ballot }}. {% trans "ballot" %}
-
- {% endfor %}
-
- {% for candidate, poll_list in vote_results.items %}
-
-
- {% if candidate in assignment.elected %}
-
-
-
- {% endif %}
- {{ candidate }}
-
- {% for vote in poll_list %}
-
- {% if not "assignment_publish_winner_results_only"|get_config or candidate in assignment.elected %}
- {% if 'Yes' in vote and 'No' in vote and 'Abstain' in vote %}
- {{ vote.Yes }}
- {{ vote.No }}
- {{ vote.Abstain }}
- {% elif 'Votes' in vote %}
- {{ vote.Votes }}
- {% elif vote == None %}
- {% trans 'was not a candidate'%}
- {% else %}
-
- {% endif %}
+
+ {% if candidate in assignment.elected %}
+
+
+
+ {% endif %}
+ {{ candidate }}
+
+ {% for vote in poll_list %}
+
+ {% if not "assignment_publish_winner_results_only"|get_config or candidate in assignment.elected %}
+ {% if 'Yes' in vote and 'No' in vote and 'Abstain' in vote %}
+ {{ vote.Yes }}
+ {{ vote.No }}
+ {{ vote.Abstain }}
+ {% elif 'Votes' in vote %}
+ {{ vote.Votes }}
+ {% elif vote == None %}
+ {% trans 'was not a candidate'%}
{% else %}
{% endif %}
-