SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 79a272f8 authored by George Katsikas's avatar George Katsikas :goat:
Browse files

fix vetoes count in fellowship nominations

parent dac2de44
No related branches found
No related tags found
No related merge requests found
......@@ -4,13 +4,13 @@
<li class="list-group-item p-2 text-success">Agree: {{ voting_round.votes.agree.count }}</li>
<li class="list-group-item p-2 text-warning">Abstain: {{ voting_round.votes.abstain.count }}</li>
<li class="list-group-item p-2 text-danger">Disagree: {{ voting_round.votes.disagree.count }}</li>
{% if not is_ed_admin %}
<li class="list-group-item p-2 text-black">Veto: {{ voting_round.nomination.vetoes.count }}</li>
{% else %}
{% if voting_round.nomination.vetoes %}
<li class="list-group-item p-2 text-black fs-3">Nomination vetoed!</li>
{% if voting_round.nomination.vetoes.all %}
<li class="list-group-item p-2 text-black fs-3">Nomination vetoed by {{ voting_round.nomination.vetoes.count }} voters</li>
{% endif %}
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment