Voting UI is bugged when no vote was submitted #58

Closed
opened 2021-12-31 01:21:00 +01:00 by reverend · 1 comment
Collaborator

When a user hasn't submitted a vote for a place then the UI is very bugged. This is because the template relies on an alreay existing vote to display all possible voting levels
{% for choice in voting.get_all_choices %} in https://git.commander1024.de/Commander1024/lostplaces-backend/src/branch/develop/django_lostplaces/lostplaces/templates/partials/voting.html#L9

The template needs another way to iterate trhough all existing levels.

When a user hasn't submitted a vote for a place then the UI is very bugged. This is because the template relies on an alreay existing vote to display all possible voting levels `{% for choice in voting.get_all_choices %}` in https://git.commander1024.de/Commander1024/lostplaces-backend/src/branch/develop/django_lostplaces/lostplaces/templates/partials/voting.html#L9 The template needs another way to iterate trhough all existing levels.
reverend added this to the Release 0.1.4 milestone 2021-12-31 01:21:00 +01:00
reverend added the
Issue
Major
labels 2021-12-31 01:21:00 +01:00
reverend self-assigned this 2021-12-31 01:21:00 +01:00
reverend changed title from Voting UI is bugged when not vote was submitted to Voting UI is bugged when no vote was submitted 2021-12-31 01:22:11 +01:00
Author
Collaborator

Done in 78efe9bebb

Done in 78efe9bebb
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Commander1024/lostplaces-backend#58
No description provided.