Skip to content

Commit

Permalink
links to changed committees
Browse files Browse the repository at this point in the history
  • Loading branch information
desafinadude committed Jul 22, 2024
1 parent 4330e34 commit 231c264
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pmg/templates/committee_layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,19 @@ <h4 class="light-red">{{ committee.house.name }} Committee</h4>
<div class="{% if not committee.about %}no-about{% endif %}">{% include '_social_sharing.html' %}</div>
{% endblock %}
</header>

<!-- 7th parliament changed committees. Link to the old committees -->
{% if committee.id == 95 %}
This committee was previously part of <strong>Agriculture, Land Reform and Rural Development</strong><a href="/committee/37/">. Historical meetings are available in the <a href="/committee/95/">Agriculture</a> committee.</a>
{% endif %}
{% if committee.id == 23 %}
This committee was previously part of <strong>Higher Education, Science and Innovation</strong><a href="/committee/64/">. Historical meetings are available in the <a href="/committee/95/">Higher Education</a> committee.</a>
{% endif %}
{% if committee.id == 40 %}
This committee was previously part of <strong>Justice and Correctional Services</strong><a href="/committee/38/">. Historical meetings are available in the <a href="/committee/95/">Justice and Constitutional Development</a> committee.</a>
{% endif %}
<!-- end link to old committee -->

<div class="committee-page">
{% block committee_page %}
{% endblock %}
Expand Down

0 comments on commit 231c264

Please sign in to comment.