{% extends 'enterprise/base.html' %} {% load staticfiles enterprise %} {% block extrahead %} {% endblock %} {% block contents %}

{{ program_type_description_header }}

{{ program_type_description }}

{{ platform_description_header }}

{{ platform_description }}

{# Display success, error, warning or info messages #} {% alert_messages messages %} {% if is_learner_eligible_for_one_click_purchase %}

{{ page_title }}

{% endif %}

{{ program_title }}

{{ organization_text }}

{{ program_overview }}
    {# Common bullet points #}
  • {{ course_count_text }}
  • {# Extra bullet points #} {% for bullet_point in item_bullet_points %}
  • {{ bullet_point }}
  • {% endfor %}
{% if is_learner_eligible_for_one_click_purchase %}
{{ purchase_text }} {% if is_discounted %} {{ program_price }} {{ program_discounted_price }}
{% autoescape off %}{{ discount_provider }}{% endautoescape %} {% else %} {{ program_price }} {% endif %}
{% endif %}
{% if is_learner_eligible_for_one_click_purchase %}
{% endif %}
{# Program Summary Box #}

{{ summary_header }}

{# Courses #} {% if courses %} {% endif %} {# Price #} {% if program_price and is_learner_eligible_for_one_click_purchase %} {% endif %} {# Length #} {% if length_info_text %} {% endif %} {# Effort #} {% if effort_info_text %} {% endif %}
{{ course_count_text }}: {% for course in courses %}
{% if course.course_runs.0.is_enrolled %} {% if course.course_runs.0.upgrade_url == None %} {{ course.title|link_to_modal:forloop.counter0 }} ({{ enrolled_in_course_and_paid_text }}) {% else %} {{ course.title|link_to_modal:forloop.counter0 }}
({{ enrolled_in_course_and_unpaid_text }}) {% endif %} {% else %} {{ course.title|link_to_modal:forloop.counter0 }} {% endif %}
{{ course.weeks_to_complete }}
{% endfor %}
{{ price_text }}: {{ purchase_text }} {% if is_discounted %} {{ program_price }} {{ program_discounted_price }}
{% autoescape off %}{{ discount_provider }}{% endautoescape %} {% else %} {{ program_price }} {% endif %}
{{ length_text }}: {{ length_info_text }}
{{ effort_text }}: {{ effort_info_text }}
{% for course in courses %} {% with index=forloop.counter0 %} {% course_modal course %} {% endwith %} {% endfor %} {% endblock %}