{% extends "richie/fullwidth.html" %} {% load cms_tags extra_tags i18n pagination_tags static thumbnail %} {% block meta_opengraph_contextuals %} {% endblock meta_opengraph_contextuals %} {% block content %}{% spaceless %} {% with organization=current_page.organization header_level=2 %}
{% get_placeholder_plugins "banner" as plugins or %} {% endget_placeholder_plugins %} {% blockplugin plugins.0 %} {% if instance.picture.default_alt_text %}{{ instance.picture.default_alt_text }}{% else %}{% trans 'organization banner' %}{% endif %} {% endblockplugin %}

{% render_model request.current_page "title" %}

{% if current_page.publisher_is_draft %}
{% with category_variant="tag" %} {% placeholder "categories" or %}

{% trans "No associated categories" %}

{% endplaceholder %} {% endwith %}
{% endif %}
{% placeholder "description" %}
{% with courses=organization.get_courses %} {% if courses %} {% autopaginate courses GLIMPSE_PAGINATION_COURSES %}

{% trans "Related courses" %}

{% for course in page_obj.object_list %} {% if course.extended_object.publisher_is_draft or course.check_publication %} {% include "courses/cms/fragment_course_glimpse.html" with course=course %} {% endif %} {% endfor %} {% if paginator.num_pages > 1 %} {% paginate using "richie/pagination.html" %} {% endif %}
{% endif %} {% endwith %} {% with persons=organization.get_persons %} {% if persons %} {% autopaginate persons GLIMPSE_PAGINATION_PERSONS %}

{% trans "Related persons" %}

{% for person in page_obj.object_list %} {% if person.extended_object.publisher_is_draft or person.check_publication %} {% with header_level=3 %} {% include "courses/cms/fragment_person_glimpse.html" with person=person %} {% endwith %} {% endif %} {% endfor %} {% if paginator.num_pages > 1 %} {% paginate using "richie/pagination.html" %} {% endif %}
{% endif %} {% endwith %}
{% endwith %} {% endspaceless %}{% endblock content %}