{% extends "richie/fullwidth.html" %} {% load cms_tags extra_tags i18n %} {% block content %} {% with header_level=2 person=current_page.person %}

{% render_model_block person %} {{ person.person_title.title }} {{ person.first_name }} {{ person.last_name }} {% endrender_model_block %}

{% if current_page.publisher_is_draft or not current_page|is_empty_placeholder:"categories" %}
{% with form_factor="tag" %} {% placeholder "categories" or %}

{% trans "No associated categories" %}

{% endplaceholder %} {% endwith %}
{% endif %}
{% with width=216 height=120 %} {% placeholder "portrait" or %}
{% trans "Portrait" %}
{% endplaceholder %} {% endwith %}
{% placeholder "resume" or %}

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

{% endplaceholder %} {% placeholder "maincontent" %}
{% 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 %}

{% trans "Courses" %}

{% for course in courses %} {% if course.extended_object.publisher_is_draft %} {% include "courses/cms/fragment_course_glimpse.html" %} {% elif course.check_publication %} {% include "courses/cms/fragment_course_glimpse.html" %} {% endif %} {% endfor %}
{% endif %} {% endwith %} {% with blogposts=person.get_blogposts %} {% if blogposts %}

{% trans "Blogposts" %}

{% for blogpost in blogposts %} {% if blogpost.extended_object.publisher_is_draft %} {% include "courses/cms/fragment_blogpost_glimpse.html" %} {% elif blogpost.check_publication %} {% include "courses/cms/fragment_blogpost_glimpse.html" %} {% endif %} {% endfor %}
{% endif %} {% endwith %}
{% endwith %} {% endblock content %}