Skip to content

Commit

Permalink
Bold text on no. candidates, seats and votes
Browse files Browse the repository at this point in the history
  • Loading branch information
Bekabyx committed May 11, 2023
1 parent 08d961f commit a65535d
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,29 +74,29 @@ <h3>{% if postelection.is_london_assembly_additional %}{% trans "Additional memb
{% else %}
{% if postelection.winner_count and postelection.get_voting_system.slug == 'FPTP' %}
{% blocktrans trimmed with winner_count=postelection.winner_count|apnumber plural=postelection.winner_count|pluralize num_candidates=postelection.people.count|apnumber plural_candidates=postelection.people|pluralize%}
You will have {{ winner_count }} vote{{ plural }},
You will have <strong>{{ winner_count }} vote{{ plural }}</strong>,
and can choose from <strong>{{ num_candidates }} candidate{{ plural_candidates }}</strong>.
{% endblocktrans %}
{% endif %}
{% if postelection.winner_count and postelection.get_voting_system.slug == 'AMS' %}
{% blocktrans trimmed with num_ballots=postelection.party_ballot_count postelection=postelection.friendly_name %}
You will have one vote, and can choose from <strong>{{ num_ballots }}</strong>
You will have <strong>one vote</strong>, and can choose from <strong>{{ num_ballots }}</strong>
in the {{ postelection }}.{% endblocktrans %}
{% endif %}
{% if postelection.winner_count and postelection.get_voting_system.slug == 'sv' %}
{% blocktrans trimmed with num_ballots=postelection.party_ballot_count postelection=postelection.friendly_name %}
You will have two votes, and can choose from <strong>{{ num_ballots }}</strong>
You will have <strong>two votes</strong>, and can choose from <strong>{{ num_ballots }}</strong>
in the {{ postelection}}.
{% endblocktrans %}
{% endif %}
{% if postelection.get_voting_system.slug == 'STV' %}
{% if postelection.winner_count == 1 %}
{% blocktrans trimmed with num_ballots=postelection.party_ballot_count %}
There is one seat up for election, and you can choose from {{ num_ballots }}.
There is <strong>one seat</strong> up for election, and you can choose from <strong>{{ num_ballots }}</strong>.
{% endblocktrans %}
{% else %}
{% blocktrans trimmed with winner_count=postelection.winner_count|apnumber num_ballots=postelection.party_ballot_count %}
There are {{ winner_count }} seats up for election, and you can choose from {{ num_ballots }}.
There are <strong>{{ winner_count }} seats</strong> up for election, and you can choose from <strong>{{ num_ballots }}</strong>.
{% endblocktrans %}
{% endif %}
{% endif %}
Expand Down

0 comments on commit a65535d

Please sign in to comment.