success.tpl 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <div class="alert alert-info">
  2. {{ 'PayPalPaymentOKPleaseConfirm'|get_plugin_lang('BuyCoursesPlugin') }}
  3. </div>
  4. <div class="row">
  5. <div class="col-sm-6 col-md-5">
  6. <h3 class="page-header">{{ 'UserInformation'|get_plugin_lang('BuyCoursesPlugin') }}</h3>
  7. <dl class="dl-horizontal">
  8. <dt>{{ 'Name'|get_lang }}<dt>
  9. <dd>{{ user.complete_name }}</dd>
  10. <dt>{{ 'Username'|get_lang }}<dt>
  11. <dd>{{ user.username }}</dd>
  12. <dt>{{ 'EmailAddress'|get_lang }}<dt>
  13. <dd>{{ user.email }}</dd>
  14. </dl>
  15. </div>
  16. <div class="col-sm-6 col-md-7">
  17. {% if buying_course %}
  18. <div class="row">
  19. <div class="col-sm-6 col-md-5">
  20. <p>
  21. <img alt="{{ course.title }}" class="img-responsive" src="{{ course.course_img ? course.course_img : 'session_default.png'|icon() }}">
  22. </p>
  23. <p class="lead text-right">{{ course.currency }} {{ course.price }}</p>
  24. </div>
  25. <div class="col-sm-6 col-md-7">
  26. <h3 class="page-header">{{ course.title }}</h3>
  27. <ul class="items-teacher list-unstyled">
  28. {% for teacher in course.teachers %}
  29. <li><em class="fa fa-user"></em> {{ teacher }}</li>
  30. {% endfor %}
  31. </ul>
  32. <p>
  33. <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() }}">
  34. {{'Description'|get_lang }}
  35. </a>
  36. </p>
  37. </div>
  38. </div>
  39. {% elseif buying_session %}
  40. <h3 class="page-header">{{ session.name }}</h3>
  41. <div class="row">
  42. <div class="col-sm-12 col-md-5">
  43. <p>
  44. <img alt="{{ session.name }}" class="img-responsive" src="{{ session.image ? session.image : 'session_default.png'|icon() }}">
  45. </p>
  46. <p class="lead text-right">{{ session.currency }} {{ session.price }}</p>
  47. </div>
  48. <div class="col-sm-12 col-md-7">
  49. <p>{{ session.dates.display }}</p>
  50. <dl>
  51. {% for course in session.courses %}
  52. <dt>{{ course.title }}</dt>
  53. {% for coach in course.coaches %}
  54. <dd><em class="fa fa-user fa-fw"></em> {{ coach }}</dd>
  55. {% endfor %}
  56. {% endfor %}
  57. </dl>
  58. </div>
  59. </div>
  60. {% endif %}
  61. </div>
  62. </div>
  63. {{ form }}