Skip to content

Commit

Permalink
No results data for STV or SV
Browse files Browse the repository at this point in the history
  • Loading branch information
VirginiaDooley committed May 2, 2024
1 parent d408212 commit 10f523d
Showing 1 changed file with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,23 @@
<td>
{% if person_post.votes_cast %}
{{ person_post.get_results_rank }}
{% elif person_post.election.voting_system == "SV"|"STV" %}
{% blocktrans trimmed with voting_system=person_post.election.voting_system %}
We do not collect voting data for {{voting_system}} elections
{% endblocktrans %}
{% else %}
{% trans "Position not available" %}
{% if person_post.election.voting_system == "sv" %}
{% trans "We do not collect voting data for Supplementary Vote elections." %}
{% elif person_post.election.voting_system == "STV" %}
{% trans "We do not collect voting data for Single Transferable Vote election" %}
{% else %}
{% trans "Position not available" %}
{% endif %}
{% endif %}
</td>
</tr>
{% endfor %}
</table>
<small>Please note our local elections database only goes back to 2016.</small>

</div>
{% endif %}

0 comments on commit 10f523d

Please sign in to comment.