Skip to content

Commit

Permalink
display election results on all area type pages
Browse files Browse the repository at this point in the history
  • Loading branch information
struan committed Sep 10, 2024
1 parent bf07b8e commit f0e0a4a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions hub/templates/hub/area.html
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@ <h3 class="h5">Votes and EDMs</h3>
</div>
{% endif %}

{% if area_type == "WMC" %}
<div class="card dataset-card area-data--sm {% comment %} TODO: dataset-card--favourite? {% endcomment %} area-data--featured">
<div class="card-header">
<h3 class="h5">{{ mp.mp_last_elected|date:"Y"}} majority</h3>
Expand Down Expand Up @@ -344,7 +343,6 @@ <h3 class="h5">Date elected</h3>
<p class="card-text"><a href="https://members-api.parliament.uk/api/Members/{{ mp.parlid }}/LatestElectionResult">Data from UK Parliament.</a></p>
</div>
</div>
{% endif %}

{% if no_mp and mp.person %}
<div class="card dataset-card area-data--sm area-data--featured">
Expand Down

0 comments on commit f0e0a4a

Please sign in to comment.