123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251 |
- <div id="about-session">
- <div class="row">
- <div class="col-xs-12">
- <p>
- <em class="fa fa-clock-o" aria-hidden="true"></em>
- {% if session.duration %}
- <em>{{ 'SessionDurationXDaysLeft'|get_lang|format(session.duration) }}</em>
- {% else %}
- <em>{{ session_date.display }}</em>
- {% endif %}
- </p>
- {% if show_tutor %}
- <p>
- <em class="fa fa-user"></em> {{ 'SessionGeneralCoach'|get_lang }}: <em>{{ session.generalCoach.getCompleteName() }}</em>
- </p>
- {% endif %}
- {% if session.getShowDescription() %}
- <div class="lead">
- {{ session.getDescription() }}
- </div>
- {% endif %}
- </div>
- </div>
- {% if has_requirements %}
- <div class="row">
- <div class="col-xs-12">
- <div class="panel panel-default">
- <div class="panel-heading">{{ 'RequiredSessions'|get_lang }}</div>
- <div class="panel-body">
- <div class="row">
- {% for sequence in sequences %}
- <div class="col-md-4">
- <dl class="dl-horizontal">
- {% if sequence.requirements %}
- <dt>{{ sequence.name }}</dt>
- {% for requirement in sequence.requirements %}
- <dd>
- <a href="{{ _p.web ~ 'session/' ~ requirement.getId ~ '/about/' }}">
- {{ requirement.getName }}
- </a>
- </dd>
- {% endfor %}
- {% endif %}
- </dl>
- </div>
- {% endfor %}
- </div>
- </div>
- </div>
- </div>
- </div>
- {% endif %}
- {% if is_subscribed and user_session_time != -0 and user_session_time >= 1 %}
- <div class="alert alert-info">
- {{ 'AlreadyRegisteredToSession'|get_lang }}
- </div>
- {% elseif is_subscribed and user_session_time < 1 %}
- <div class="alert alert-warning">
- {{ 'YourSessionTimeIsExpired'|get_lang }}
- </div>
- {% 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 %}
- <div class="row">
- {% if courses|length > 1 %}
- <div class="col-xs-12">
- <h3 class="text-uppercase">{{ course_data.course.getTitle }}</h3>
- </div>
- {% endif %}
- {% if course_video %}
- <div class="col-sm-6 col-md-7">
- <div class="embed-responsive embed-responsive-16by9">
- {{ essence.replace(course_video) }}
- </div>
- </div>
- {% endif %}
- <div class="{{ course_video ? 'col-sm-6 col-md-5' : 'col-sm-12' }}">
- <div class="description-course">
- {{ course_data.description.getContent }}
- </div>
- </div>
- </div>
- <div class="row info-course">
- <div class="col-xs-12 col-md-7">
- <div class="panel panel-default">
- <div class="panel-heading">
- <h4>{{ "CourseInformation"|get_lang }}</h4>
- </div>
- <div class="panel-body">
- {% if course_data.objectives %}
- <div class="objective-course">
- <h4 class="title-info"><em class="fa fa-book"></em> {{ course_data.objectives.getTitle }}</h4>
- <div class="content-info">
- {{ course_data.objectives.getContent }}
- </div>
- </div>
- {% endif %}
- {% if course_data.topics %}
- <div class="topics">
- <h4 class="title-info"><em class="fa fa-book"></em> {{ course_data.topics.getTitle }}</h4>
- <div class="content-info">
- {{ course_data.topics.getContent }}
- </div>
- </div>
- {% endif %}
- {% if course_data.methodology %}
- <div class="topics">
- <h4 class="title-info"><em class="fa fa-book"></em> {{ course_data.methodology.getTitle }}</h4>
- <div class="content-info">
- {{ course_data.methodology.getContent }}
- </div>
- </div>
- {% endif %}
- {% if course_data.material %}
- <div class="topics">
- <h4 class="title-info"><em class="fa fa-book"></em> {{ course_data.material.getTitle }}</h4>
- <div class="content-info">
- {{ course_data.material.getContent }}
- </div>
- </div>
- {% endif %}
- {% if course_data.resources %}
- <div class="topics">
- <h4 class="title-info"><em class="fa fa-book"></em> {{ course_data.resources.getTitle }}</h4>
- <div class="content-info">
- {{ course_data.resources.getContent }}
- </div>
- </div>
- {% endif %}
- {% if course_data.assessment %}
- <div class="topics">
- <h4 class="title-info"><em class="fa fa-book"></em> {{ course_data.assessment.getTitle }}</h4>
- <div class="content-info">
- {{ course_data.assessment.getContent }}
- </div>
- </div>
- {% endif %}
- {% if course_data.custom %}
- {% for custom in course_data.custom %}
- <div class="topics">
- <h4 class="title-info"><em class="fa fa-book"></em> {{ custom.getTitle }}</h4>
- <div class="content-info">
- {{ custom.getContent }}
- </div>
- </div>
- {% endfor %}
- {% endif %}
- </div>
- </div>
- </div>
- <div class="col-xs-12 col-md-5">
- {% if course_data.coaches %}
- <div class="panel panel-default teachers">
- <div class="panel-heading">
- <h4>{{ "Coaches"|get_lang }}</h4>
- </div>
- <div class="panel-body">
- {% for coach in course_data.coaches %}
- <div class="row">
- <div class="col-xs-7 col-md-7">
- <h4>{{ coach.complete_name }}</h4>
- {% for extra_field in coach.extra_fields %}
- <dl>
- <dt>{{ extra_field.value.getField().getDisplayText() }}</dt>
- <dd>{{ extra_field.value.getValue() }}</dd>
- </dl>
- {% endfor %}
- </div>
- <div class="col-xs-5 col-md-5">
- <div class="text-center">
- <img class="img-circle" src="{{ coach.image }}" alt="{{ coach.complete_name }}">
- </div>
- </div>
- </div>
- {% endfor %}
- </div>
- </div>
- {% endif %}
- {% if course_data.tags %}
- <div class="panel panel-default">
- <div class="panel-heading">{{ 'Tags'|get_lang }}</div>
- <div class="panel-body">
- <ul class="list-inline">
- {% for tag in course_data.tags %}
- <li>
- <span class="label label-info">{{ tag.getTag }}</span>
- </li>
- {% endfor %}
- </ul>
- </div>
- </div>
- {% endif %}
- <div class="panel panel-default social-share">
- <div class="panel-heading">{{ "ShareWithYourFriends"|get_lang }}</div>
- <div class="panel-body">
- <div class="icons-social text-center">
- <a href="https://www.facebook.com/sharer/sharer.php?{{ {'u': page_url }|url_encode }}" target="_blank" class="btn bnt-link btn-lg">
- <em class="fa fa-facebook fa-2x"></em>
- </a>
- <a href="https://twitter.com/home?{{ {'status': session.getName() ~ ' ' ~ page_url }|url_encode }}" target="_blank" class="btn bnt-link btn-lg">
- <em class="fa fa-twitter fa-2x"></em>
- </a>
- <a href="https://www.linkedin.com/shareArticle?{{ {'mini': 'true', 'url': page_url , 'title': session.getName() }|url_encode }}" target="_blank" class="btn bnt-link btn-lg">
- <em class="fa fa-linkedin fa-2x"></em>
- </a>
- </div>
- </div>
- </div>
- </div>
- </div>
- {% endfor %}
- <div class="row">
- <div class="col-md-12">
- <div class="text-center">
- {% if _u.logged and not is_subscribed %}
- {{ subscribe_button }}
- {% elseif not _u.logged %}
- {% if 'allow_registration'|api_get_setting == 'true' %}
- <a href="{{ _p.web_main ~ 'auth/inscription.php' ~ redirect_to_session }}" class="btn btn-info btn-lg">
- <i class="fa fa-pencil" aria-hidden="true"></i> {{ 'SignUp'|get_lang }}
- </a>
- {% endif %}
- {% endif %}
- </div>
- </div>
- </div>
- </div>
|