{% if is_subscribed and user_session_time != -0 and user_session_time >= 1 %}
{{ 'AlreadyRegisteredToSession'|get_lang }}
{% elseif is_subscribed and user_session_time < 1 %}
{{ 'YourSessionTimeIsExpired'|get_lang }}
{% endif %}

{{ session.name }}

{% if show_tutor and session.generalCoach %}
{{ 'SessionGeneralCoach'|get_lang }}: {{ session.generalCoach.getCompleteName() }}
{% endif %} {% if session.getShowDescription() %}
{{ session.getDescription() }}
{% endif %} {% if not 'hide_social_media_links'|api_get_configuration_value %} {% endif %}

{% if session.duration %} {{ 'SessionDurationXDaysTotal'|get_lang|format(session.duration) }} {% else %} {{ session_date.display }} {% endif %}

{% if is_premium == false %}
{{ 'CourseSubscription'|get_lang }}
{% if _u.logged and not is_subscribed %} {{ subscribe_button }} {% elseif not _u.logged %} {% if 'allow_registration'|api_get_setting != 'false' %} {{ 'SignUp'|get_lang }} {% endif %} {% endif %}
{% else %}
{{ 'SalePrice'|get_lang }}
{{ is_premium.iso_code }} {{ is_premium.price }}
{% endif %} {% if has_requirements %}
{{ 'RequiredSessions'|get_lang }}
{% for sequence in sequences %} {% if sequence.requirements %}

{{ sequence.name }} : {% for requirement in sequence.requirements %} {{ requirement.getName }} {% endfor %}

{% endif %} {% endfor %}
{% endif %}
{% for course_data in courses %} {% set course_video = '' %} {% for extra_field in course_data.extra_fields %} {% if extra_field.value.getField().getVariable() == 'video_url' %} {% set course_video = extra_field.value.getValue() %} {% endif %} {% endfor %}
{% if course_video %}
{{ essence.replace(course_video) }}
{% else %}
{% endif %}
{% if courses|length > 1 %}

{{ course_data.course.getTitle }}

{% endif %}
{% for description in course_data.description %} {{ description.content }} {% endfor %}
{% if course_data.tags %}
  • {{ 'Tags'|get_lang }} :
  • {% for tag in course_data.tags %}
  • {{ tag.getTag }}
  • {% endfor %}
{% endif %}

{{ "CourseInformation"|get_lang }}

{% if course_data.objectives %} {% for objectives in course_data.objectives %}

{{ objectives.title }}

{% endfor %} {% endif %} {% if course_data.topics %} {% for topics in course_data.topics %}

{{ topics.title }}

{% endfor %} {% endif %} {% if course_data.methodology %} {% for methodology in course_data.methodology %}

{{ methodology.title }}

{% endfor %} {% endif %} {% if course_data.material %} {% for material in course_data.material %}

{{ material.title }}

{% endfor %} {% endif %} {% if course_data.resources %} {% for resources in course_data.resources %}

{{ resources.title }}

{% endfor %} {% endif %} {% if course_data.assessment %} {% for assessment in course_data.assessment %}

{{ assessment.title }}

{% endfor %} {% endif %} {% if course_data.custom %} {% for custom in course_data.custom %}

{{ custom.title }}

{% endfor %} {% endif %}
{% if course_data.coaches %}

{{ "Coaches"|get_lang }}

{% for coach in course_data.coaches %}
{{ coach.complete_name }}

{{ coach.complete_name }}

{% if coach.diploma %}

{{ coach.diploma }}

{% endif %}
{% if coach.openarea %}

{{ coach.openarea }}

{% endif %} {% for coach_extra_field in coach.extra_fields %} {% set coach_field = coach_extra_field.value.field %} {% set coach_field_value = coach_extra_field.value.value %} {% if not coach_field_value is empty %}
{{ coach_field.displayText }}
{{ coach_extra_field.value.value }}
{% endif %} {% endfor %}
{% endfor %}
{% endif %}
{% endfor %}