{% set course_description_url = _p.web_ajax ~ 'course_home.ajax.php?' ~ {'code': course.code, 'a': 'show_course_information'}|url_encode() %} {{ course.title }} {% for teacher in course.teachers %} {{ teacher }} {% endfor %} {{ course.currency }} {{ course.price }} {% if course.enrolled == "YES" %} {{ 'TheUserIsAlreadyRegisteredInTheCourse'|get_plugin_lang('BuyCoursesPlugin') }} {% elseif course.enrolled == "NO" %} {{ 'SeeDescription'|get_plugin_lang('BuyCoursesPlugin') }} {{ 'Buy'|get_plugin_lang('BuyCoursesPlugin') }} {% elseif course.enrolled == "TMP" %} {{ 'WaitingToReceiveThePayment'|get_plugin_lang('BuyCoursesPlugin') }} {% endif %}
{{ session.name }} {% if 'show_session_coach'|get_setting == 'true' %} {{ session.coach }} {% endif %} {{ session.dates.display }} {{ session.currency }} {{ session.price }} {% for course in session.courses %} {{ course.title }} {% if course.coaches|length %} {% for coach in course.coaches %} {{ coach }} {% endfor %} {% endif %} {% endfor %} {% if session.enrolled == "YES" %} {{ 'TheUserIsAlreadyRegisteredInTheSession'|get_plugin_lang('BuyCoursesPlugin') }} {% elseif session.enrolled == "NO" %} {{ 'Buy'|get_plugin_lang('BuyCoursesPlugin') }} {% elseif session.enrolled == "TMP" %} {{ 'WaitingToReceiveThePayment'|get_plugin_lang('BuyCoursesPlugin') }} {% endif %}