{% extends "richie/fullwidth.html" %} {% load cms_tags extra_tags i18n pagination_tags static thumbnail %} {% block meta_opengraph_contextuals %} {% endblock meta_opengraph_contextuals %} {% block subheader %}
{% block breadcrumbs %} {% include "menu/breadcrumbs.html" %} {% endblock breadcrumbs %} {% block subheader_content %}{% spaceless %} {% with course=current_page.course header_level=2 %}

{% render_model current_page "title" %}

{% if current_page.publisher_is_draft or not current_page|is_empty_placeholder:"categories" %}
{% with category_variant="badge" %} {% placeholder "categories" or %} {% trans "No associated categories" %} {% endplaceholder %} {% endwith %}
{% endif %}
{% placeholder "bio" or %}

{% trans "Enter your bio here..." %}

{% endplaceholder %}
{% get_placeholder_plugins "portrait" as plugins or %}
{% endget_placeholder_plugins %} {% blockplugin plugins.0 %}
{% if instance.picture.default_alt_text %}{{ instance.picture.default_alt_text }}{% else %}{% blocktrans with title=current_page.get_title %}{{ title }} avatar{% endblocktrans %}{% endif %}
{% endblockplugin %}
{% endwith %} {% endspaceless %}{% endblock subheader_content %}
{% endblock subheader %} {% block content %}{% spaceless %} {% with header_level=2 person=current_page.person %}
{% if not current_page|is_empty_placeholder:"maincontent" %}
{% placeholder "maincontent" %}
{% endif %} {% if current_page.publisher_is_draft or not current_page|is_empty_placeholder:"organizations" %}

{% trans "Organizations" %}

{% placeholder "organizations" or %}

{% trans "No associated organizations" %}

{% endplaceholder %}
{% endif %} {% with courses=person.get_courses %} {% if courses %} {% autopaginate courses GLIMPSE_PAGINATION_COURSES %}

{% trans "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 blogposts=person.get_blogposts %} {% if blogposts %} {% autopaginate blogposts GLIMPSE_PAGINATION_BLOGPOSTS %}

{% trans "Blogposts" %}

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