Skip to content

Commit

Permalink
Fix tenses on election page
Browse files Browse the repository at this point in the history
ref #1280
  • Loading branch information
Bekabyx committed May 11, 2023
1 parent a65535d commit f530004
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h3>{{ object.nice_election_name }}</h3>
<strong>is being held today</strong>. Polls are open from{% endblocktrans %} {{ object.polls_open|time:"ga" }} {% trans "till" %} {{ object.polls_close|time:"ga" }}
{% else %}
{% comment %} TO DO: Change text when the election is "tomorrow" {% endcomment %}
{% blocktrans trimmed with was_will_be_in_past=postelection.election.in_past|yesno:"was,will be" election_date=object.election_date|naturalday:"\o\n l j F Y" %} {{ was_will_be_in_past }} held <strong>{{ election_date }}</strong>.{% endblocktrans %}
{% blocktrans trimmed with was_will_be_in_past=object.in_past|yesno:"was,will be" election_date=object.election_date|naturalday:"\o\n l j F Y" %} This election {{ was_will_be_in_past }} held <strong>{{ election_date }}</strong>.{% endblocktrans %}
{% endif %}
</p>

Expand Down

0 comments on commit f530004

Please sign in to comment.