diff --git a/openslides/assignments/serializers.py b/openslides/assignments/serializers.py index 6f8c81f9a..8b67ea46b 100644 --- a/openslides/assignments/serializers.py +++ b/openslides/assignments/serializers.py @@ -171,7 +171,8 @@ class AssignmentShortPollSerializer(AssignmentAllPollSerializer): 'options', 'votesvalid', 'votesinvalid', - 'votescast',) + 'votescast', + 'has_votes',) class AssignmentFullSerializer(ModelSerializer): diff --git a/openslides/assignments/static/templates/assignments/assignment-detail.html b/openslides/assignments/static/templates/assignments/assignment-detail.html index c1c8de64f..edbc6221c 100644 --- a/openslides/assignments/static/templates/assignments/assignment-detail.html +++ b/openslides/assignments/static/templates/assignments/assignment-detail.html @@ -73,7 +73,7 @@ -
+