12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <div class="alert alert-info">
- {{ 'PayPalPaymentOKPleaseConfirm'|get_plugin_lang('BuyCoursesPlugin') }}
- </div>
- <div class="row">
- <div class="col-sm-6 col-md-5">
- <h3 class="page-header">{{ 'UserInformation'|get_plugin_lang('BuyCoursesPlugin') }}</h3>
- <dl class="dl-horizontal">
- <dt>{{ 'Name'|get_lang }}
- <dt>
- <dd>{{ user.complete_name }}</dd>
- <dt>{{ 'Username'|get_lang }}
- <dt>
- <dd>{{ user.username }}</dd>
- <dt>{{ 'EmailAddress'|get_lang }}
- <dt>
- <dd>{{ user.email }}</dd>
- </dl>
- </div>
- <div class="col-sm-6 col-md-7">
- {% if buying_course %}
- <div class="row">
- <div class="col-sm-6 col-md-5">
- <p>
- <img alt="{{ course.title }}" class="img-responsive"
- src="{{ course.course_img ? course.course_img : 'session_default.png'|icon() }}">
- </p>
- <p class="lead text-right">{{ course.currency }} {{ course.price }}</p>
- </div>
- <div class="col-sm-6 col-md-7">
- <h3 class="page-header">{{ course.title }}</h3>
- <ul class="items-teacher list-unstyled">
- {% for teacher in course.teachers %}
- <li><em class="fa fa-user" aria-hidden="true"></em> {{ teacher.name }}</li>
- {% endfor %}
- </ul>
- <p>
- <a class="ajax btn btn-primary btn-sm" data-title="{{ course.title }}"
- href="{{ _p.web_ajax ~ 'course_home.ajax.php?' ~ {'a': 'show_course_information', 'code': course.code}|url_encode() }}">
- {{ 'Description'|get_lang }}
- </a>
- </p>
- </div>
- </div>
- {% elseif buying_session %}
- <h3 class="page-header">{{ session.name }}</h3>
- <div class="row">
- <div class="col-sm-12 col-md-5">
- <p>
- <img alt="{{ session.name }}" class="img-responsive"
- src="{{ session.image ? session.image : 'session_default.png'|icon() }}">
- </p>
- <p class="lead text-right">{{ session.currency }} {{ session.price }}</p>
- </div>
- <div class="col-sm-12 col-md-7">
- <p>{{ session.dates.display }}</p>
- <dl>
- {% for course in session.courses %}
- <dt>{{ course.title }}</dt>
- {% for coach in course.coaches %}
- <dd><em class="fa fa-user fa-fw" aria-hidden="true"></em> {{ coach.name }}</dd>
- {% endfor %}
- {% endfor %}
- </dl>
- </div>
- </div>
- {% endif %}
- </div>
- </div>
- {{ form }}
|