{% extends "richie/fullwidth.html" %} {% load cms_tags extra_tags i18n static thumbnail %} {% block content %}{% spaceless %} {% with organization=current_page.organization header_level=2 %}
{% get_placeholder_plugins "banner" as plugins or %}
{% trans "Banner" %}
{% 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" %}

{% placeholder "description" %}
{% with courses=organization.get_courses %} {% if courses %}

{% trans "Related courses" %}

{% for course in courses %} {% if course.extended_object.publisher_is_draft or course.check_publication %} {% include "courses/cms/fragment_course_glimpse.html" with course=course %} {% endif %} {% endfor %}
{% endif %} {% endwith %} {% with persons=organization.get_persons %} {% if persons %}

{% trans "Related persons" %}

{% for person in persons %} {% if person.extended_object.publisher_is_draft %} {% include "courses/cms/fragment_person_glimpse.html" %} {% elif person.check_publication %} {% include "courses/cms/fragment_person_glimpse.html" %} {% endif %} {% endfor %}
{% endif %} {% endwith %} {% endwith %} {% endspaceless %}{% endblock content %}