Skip to content

Commit

Permalink
Add back check for meeting committee
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmwatson committed Sep 5, 2024
1 parent 1df82d2 commit 0d49d0c
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions pmg/templates/committee_layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@
<ol class="breadcrumb">
{% block committee_breadcrumb %}
{% if not from_page %}
<li><a href="{{ url_for('committees') }}">Committees</a></li>
<li><a href="/committees#{% if committee.house.sphere == 'provincial' %}prov{% elif committee.ad_hoc %}adhoc{% else %}{{ committee.house.short_name }}{% endif %}">{{ committee.house.name }}</a></li>
<li><a href="{{ url_for('committees') }}">Committees</a></li>
{% if committee %}
<li><a href="/committees#{% if committee.house.sphere == 'provincial' %}prov{% elif committee.ad_hoc %}adhoc{% else %}{{ committee.house.short_name }}{% endif %}">{{ committee.house.name }}</a></li>
{% endif %}
{% else %}
<li><a href="{{ url_for('provincial_legislatures_list') }}">Provincial Legislatures</a></li>
<li><a href="{{ url_for('provincial_legislatures_detail', slug=from_page) }}">{{ committee.house.name }}</a></li>
<li><a href="{{ url_for('provincial_committees', slug=from_page) }}">Committees</a></li>
<li><a href="{{ url_for('provincial_legislatures_list') }}">Provincial Legislatures</a></li>
<li><a href="{{ url_for('provincial_legislatures_detail', slug=from_page) }}">{{ committee.house.name }}</a></li>
<li><a href="{{ url_for('provincial_committees', slug=from_page) }}">Committees</a></li>
{% endif %}
{% endblock %}
</ol>
Expand Down

0 comments on commit 0d49d0c

Please sign in to comment.