Skip to content

Commit

Permalink
Change object name
Browse files Browse the repository at this point in the history
  • Loading branch information
VirginiaDooley committed Jan 9, 2022
1 parent 149f065 commit 8eade38
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@ <h2>{{ object.metadata.cancelled_election.title }}</h2>
<p>No votes will be cast, and the candidate{{ object.people|pluralize }} below have been automatically declared
the winner{{ object.people|pluralize }}.</p>

{% if postelection.people %}
{% if postelection.display_as_party_list %}
{% include "elections/includes/_people_list_with_lists.html" with people=postelection.people %}
{% else %}
{% include "elections/includes/_people_list.html" with people=postelection.people %}
{% endif %}
{% if object.display_as_party_list %}
{% include "elections/includes/_people_list_with_lists.html" with people=object.people %}
{% else %}
{% include "elections/includes/_people_list.html" with people=object.people %}
{% endif %}

{% else %}
Expand All @@ -39,13 +37,13 @@ <h2>{{ object.metadata.cancelled_election.title }}</h2>
winner{{ object.people|pluralize }}.
A new election to fill the unclaimed seat{{ object.people|pluralize }}
will be held within 35 working days of the original election date.</p>
{% if postelection.people %}
{% if postelection.display_as_party_list %}
{% include "elections/includes/_people_list_with_lists.html" with people=postelection.people %}
{% else %}
{% include "elections/includes/_people_list.html" with people=postelection.people %}
{% endif %}

{% if object.display_as_party_list %}
{% include "elections/includes/_people_list_with_lists.html" with people=object.people %}
{% else %}
{% include "elections/includes/_people_list.html" with people=object.people %}
{% endif %}

{% else %}
<b>Rescheduled Election</b>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,11 @@ <h3>{% if postelection.is_london_assembly_additional %}Additional members{% else
{% endif %}
</p>



{% if object.display_as_party_list %}
{% include "elections/includes/_people_list_with_lists.html" with people=object.people %}
{% else %}
{% include "elections/includes/_people_list.html" with people=object.people %}
{% endif %}

{% if postelection.should_display_sopn_info %}
<p>
Expand Down

0 comments on commit 8eade38

Please sign in to comment.