From f530004cdc30acba27611e65aec0917826c0584b Mon Sep 17 00:00:00 2001 From: Beka Lewis Date: Thu, 11 May 2023 15:39:12 +0100 Subject: [PATCH] Fix tenses on election page ref #1280 --- wcivf/apps/elections/templates/elections/election_view.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcivf/apps/elections/templates/elections/election_view.html b/wcivf/apps/elections/templates/elections/election_view.html index 2f67d0b25..86f156666 100644 --- a/wcivf/apps/elections/templates/elections/election_view.html +++ b/wcivf/apps/elections/templates/elections/election_view.html @@ -24,7 +24,7 @@

{{ object.nice_election_name }}

is being held today. 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 {{ election_date }}.{% 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 {{ election_date }}.{% endblocktrans %} {% endif %}