{% extends "base_detail.html" %} {% load institutions %} {% load members %} {% load bootstrap_helpers %} {% load community_badges %} {% load community_buttons %} {% load community_utils %} {% load topics %} {% block action_buttons %} {% if user.is_staff %} {% endif %} {% endblock %} {% block head_meta %} {% with meta_title=department.abbreviation|default_if_none:department.name meta_description="Contributions of the "|add:department.name|add:" in the "|add:community_name %} {{ block.super }} {% endwith %} {% endblock head_meta %} {% block headline %}{{ department.name }}{% endblock %} {% block breadcrumbs %} {% url 'institutions:institutions' as institutions_url %} {% with institutions_url=institutions_url|add:'?end_date__isnull=True' %} {% breadcrumbs "Institutions"|combine:institutions_url department.parent_institution.abbreviation|combine:department.parent_institution.get_absolute_url ""|combine:request.path %} {% endwith %} {% endblock %} {% block subtitle %}{{ department.abbreviation|default_if_none:"" }}{% endblock %} {% block sidebar_below %} {% block sidebar_left %} {% organization_card department.parent_institution base_id="sidebar-" %} {% with body_class="p-0" %} {% if department.contact or department.website %} {% card header="Contact" body_class="p-0" %} {% if department.contact %}{% member_card department.contact %}{% endif %} {% card body_class="p-0" %}