From 24c2670bdab53b130d8164538a3b89037ea8c1ee Mon Sep 17 00:00:00 2001 From: Virginia Dooley Date: Thu, 2 May 2024 16:57:10 +0100 Subject: [PATCH] No results data for STV or SV --- .../people/includes/_person_previous_elections_card.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wcivf/apps/people/templates/people/includes/_person_previous_elections_card.html b/wcivf/apps/people/templates/people/includes/_person_previous_elections_card.html index 8176fa44e..818cdfefc 100644 --- a/wcivf/apps/people/templates/people/includes/_person_previous_elections_card.html +++ b/wcivf/apps/people/templates/people/includes/_person_previous_elections_card.html @@ -38,6 +38,10 @@ {% 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" %} {% endif %}