success.tpl 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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 }}
  9. <dt>
  10. <dd>{{ user.complete_name }}</dd>
  11. <dt>{{ 'Username'|get_lang }}
  12. <dt>
  13. <dd>{{ user.username }}</dd>
  14. <dt>{{ 'EmailAddress'|get_lang }}
  15. <dt>
  16. <dd>{{ user.email }}</dd>
  17. </dl>
  18. </div>
  19. <div class="col-sm-6 col-md-7">
  20. {% if buying_course %}
  21. <div class="row">
  22. <div class="col-sm-6 col-md-5">
  23. <p>
  24. <img alt="{{ course.title }}" class="img-responsive"
  25. src="{{ course.course_img ? course.course_img : 'session_default.png'|icon() }}">
  26. </p>
  27. <p class="lead text-right">{{ course.currency }} {{ course.price }}</p>
  28. </div>
  29. <div class="col-sm-6 col-md-7">
  30. <h3 class="page-header">{{ course.title }}</h3>
  31. <ul class="items-teacher list-unstyled">
  32. {% for teacher in course.teachers %}
  33. <li><em class="fa fa-user" aria-hidden="true"></em> {{ teacher.name }}</li>
  34. {% endfor %}
  35. </ul>
  36. <p>
  37. <a class="ajax btn btn-primary btn-sm" data-title="{{ course.title }}"
  38. href="{{ _p.web_ajax ~ 'course_home.ajax.php?' ~ {'a': 'show_course_information', 'code': course.code}|url_encode() }}">
  39. {{ 'Description'|get_lang }}
  40. </a>
  41. </p>
  42. </div>
  43. </div>
  44. {% elseif buying_session %}
  45. <h3 class="page-header">{{ session.name }}</h3>
  46. <div class="row">
  47. <div class="col-sm-12 col-md-5">
  48. <p>
  49. <img alt="{{ session.name }}" class="img-responsive"
  50. src="{{ session.image ? session.image : 'session_default.png'|icon() }}">
  51. </p>
  52. <p class="lead text-right">{{ session.currency }} {{ session.price }}</p>
  53. </div>
  54. <div class="col-sm-12 col-md-7">
  55. <p>{{ session.dates.display }}</p>
  56. <dl>
  57. {% for course in session.courses %}
  58. <dt>{{ course.title }}</dt>
  59. {% for coach in course.coaches %}
  60. <dd><em class="fa fa-user fa-fw" aria-hidden="true"></em> {{ coach.name }}</dd>
  61. {% endfor %}
  62. {% endfor %}
  63. </dl>
  64. </div>
  65. </div>
  66. {% endif %}
  67. </div>
  68. </div>
  69. {{ form }}