{% extends "richie/fullwidth.html" %} {% load cms_tags extra_tags i18n thumbnail %} {% block head_title %} {% page_attribute "page_title" as program_title %} {% blocktrans with program_title=program_title %}{{ program_title }} - Program{% endblocktrans %} {% endblock head_title %} {% block meta_html_default %} {% if not current_page|is_empty_placeholder:"program_excerpt" %} {% endif %} {% endblock meta_html_default %} {% block meta_rdfa_context %} {% get_placeholder_plugins "program_cover" as og_image_plugins %} {% if og_image_plugins.0 %} {% thumbnail og_image_plugins.0.picture 1200x630 replace_alpha='#FFFFFF' crop upscale subject_location=og_image_plugins.0.picture.subject_location as thumb %} {% endif %} {% if not current_page|is_empty_placeholder:"program_excerpt" %} {% endif %} {% endblock meta_rdfa_context %} {% block body_rdfa %} vocab="https://schema.org/" typeof="EducationalOccupationalProgram"{% endblock body_rdfa %} {% block subheader_content %}
{% block categories %} {% if current_page.publisher_is_draft or not current_page|is_empty_placeholder:"program_categories" %}
{% with category_variant="badge" is_keywords_property=True %} {% placeholder "program_categories" or %} {% trans "No associated categories" %} {% endplaceholder %} {% endwith %}
{% endif %} {% endblock categories %}

{% render_model current_page "title" %}

{% placeholder "program_excerpt" or %}
{% trans "No excerpt content" %}
{% endplaceholder %}
{% with program=current_page.program %} {% if program.duration or program.effort %}
    {% if program.duration or current_page.publisher_is_draft %}
  • {% trans "Duration:" %} {{ program.get_duration_display|default:"NA" }}
  • {% endif %} {% if program.effort or current_page.publisher_is_draft %}
  • {% trans "Effort:" %} {{ program.get_effort_display|default:"NA" }}
  • {% course_programs_count current_page as program_count %} {% if program_count > 0 %}
  • {% trans "Curriculum:" %} {% blocktrans count counter=program_count %} {{ counter }} course {% plural %} {{ counter }} courses {% endblocktrans %}
  • {% endif %} {% if program.price %}
  • {% trans "Price:" %} {{ program.price_with_currency }}
  • {% endif %} {% endif %}
{% endif %} {% endwith %} {% if current_page.publisher_is_draft or not current_page|is_empty_placeholder:"program_teaser" or not current_page|is_empty_placeholder:"program_cover" %}
{% placeholder "program_teaser" or %} {% get_placeholder_plugins "program_cover" as plugins or %} {% if current_page.publisher_is_draft %}

{% trans 'Add a teaser video or add a cover image below and it will be used as teaser image as well.' %}

{% endif %} {% endget_placeholder_plugins %} {% blockplugin plugins.0 %} {% trans 'program cover image' %} {% endblockplugin %} {% endplaceholder %}
{% endif %}
{% if current_page.publisher_is_draft or not current_page|is_empty_placeholder:"program_organizations" %}
{% placeholder "program_organizations" or %} {% if current_page.publisher_is_draft %}

{% trans "No organizations for this program" %}

{% endif %} {% endplaceholder %}
{% endif %}
{% endblock subheader_content %} {% block content %}{% spaceless %}
{% block cover %} {% placeholder_as_plugins "program_cover" as cover_plugins %} {% if current_page.publisher_is_draft %}

{% trans 'Glimpse cover' %}

{% if not cover_plugins %}

{% trans 'Add an image for program cover on its glimpse.' %}

{% endif %} {% blockplugin cover_plugins.0 %} {% if instance.picture.default_alt_text %}{{ instance.picture.default_alt_text }}{% else %}{% trans 'course cover image' %}{% endif %} {% endblockplugin %}
{% endif %} {% endblock cover %}
{% placeholder "program_body" or %}

{% trans "No body content" %}

{% endplaceholder %}
{% if current_page.publisher_is_draft or not current_page|is_empty_placeholder:"program_objectives" %}

{% blocktrans context "program_objectives__title" %}What you will learn{% endblocktrans %}

{% placeholder "program_objectives" or %}

{% trans "No program objectives" %}

{% endplaceholder %}
{% endif %} {% if current_page.publisher_is_draft or not current_page|is_empty_placeholder:"program_courses" %}

{% trans "Related courses" %}

{% placeholder "program_courses" %}
{% endif %} {% block team %} {% if current_page.publisher_is_draft or not current_page|is_empty_placeholder:"program_team" %}

{% blocktrans context "course_detail__title" %}Program instructors{% endblocktrans %}

{% with header_level=3 %}
{% placeholder "program_team" page or %}

{% trans 'Who are the instructors for this program?' %}

{% endplaceholder %}
{% endwith %}
{% endif %} {% endblock team %} {% block information %} {% if current_page.publisher_is_draft or not current_page|is_empty_placeholder:"program_information" %}
{% placeholder "program_information" page or %}

{% trans 'No complementary information for this program' %}

{% endplaceholder %}
{% endif %} {% endblock information %}
{% endspaceless %}{% endblock content %}