Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moved renamed commitee links #570

Merged
merged 1 commit into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions pmg/templates/committee_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,20 @@ <h3 class="collapse-link cte-about-link"><span class="fa fa-fw fa-caret-right"><
</div>
{% endif %}

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

{% if committee.house.sphere == 'provincial' and not committee.monitored %}
{% include '_committee_membership.html' %}
{% else %}
Expand Down
14 changes: 0 additions & 14 deletions pmg/templates/committee_layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,6 @@ <h4 class="light-red">{{ committee.house.name }} Committee</h4>
{% endblock %}
</header>

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

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