process_confirm.tpl 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <div class="row">
  2. <div class="col-sm-6 col-md-5">
  3. <h3 class="page-header">{{ 'UserInformation'|get_plugin_lang('BuyCoursesPlugin') }}</h3>
  4. <dl class="dl-horizontal">
  5. <dt>{{ 'Name'|get_lang }}<dt>
  6. <dd>{{ user.complete_name }}</dd>
  7. <dt>{{ 'Username'|get_lang }}<dt>
  8. <dd>{{ user.username }}</dd>
  9. <dt>{{ 'EmailAddress'|get_lang }}<dt>
  10. <dd>{{ user.email }}</dd>
  11. </dl>
  12. </div>
  13. <div class="col-sm-6 col-md-7">
  14. {% if buying_course %}
  15. <div class="row">
  16. <div class="col-sm-6 col-md-5">
  17. <p>
  18. <img alt="{{ course.title }}" class="img-responsive" src="{{ course.course_img ? course.course_img : 'session_default.png'|icon() }}">
  19. </p>
  20. <p class="lead text-right">{{ course.currency }} {{ course.price }}</p>
  21. </div>
  22. <div class="col-sm-6 col-md-7">
  23. <h3 class="page-header">{{ course.title }}</h3>
  24. <ul class="items-teacher list-unstyled">
  25. {% for teacher in course.teachers %}
  26. <li><em class="fa fa-user"></em> {{ teacher }}</li>
  27. {% endfor %}
  28. </ul>
  29. <p>
  30. <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() }}">
  31. {{'Description'|get_lang }}
  32. </a>
  33. </p>
  34. </div>
  35. </div>
  36. {% elseif buying_session %}
  37. <h3 class="page-header">{{ session.name }}</h3>
  38. <div class="row">
  39. <div class="col-sm-12 col-md-5">
  40. <p>
  41. <img alt="{{ session.name }}" class="img-responsive" src="{{ session.image ? session.image : 'session_default.png'|icon() }}">
  42. </p>
  43. <p class="lead text-right">{{ session.currency }} {{ session.price }}</p>
  44. </div>
  45. <div class="col-sm-12 col-md-7">
  46. <p>{{ session.dates.display }}</p>
  47. <dl>
  48. {% for course in session.courses %}
  49. <dt>{{ course.title }}</dt>
  50. {% for coach in course.coaches %}
  51. <dd><em class="fa fa-user fa-fw"></em> {{ coach }}</dd>
  52. {% endfor %}
  53. {% endfor %}
  54. </dl>
  55. </div>
  56. </div>
  57. {% endif %}
  58. </div>
  59. </div>
  60. <div class="row">
  61. <div class="col-xs-12">
  62. <h3 class="page-header">{{ 'BankAccountInformation'|get_plugin_lang('BuyCoursesPlugin') }}</h3>
  63. <div class="table-responsive">
  64. <table class="table table-striped table-hover">
  65. <thead>
  66. <tr>
  67. <th>{{ 'Name'|get_lang }}</th>
  68. <th class="text-center">{{ 'BankAccount'|get_plugin_lang('BuyCoursesPlugin') }}</th>
  69. <th class="text-center">{{ 'SWIFT'|get_plugin_lang('BuyCoursesPlugin') }}</th>
  70. </tr>
  71. </thead>
  72. <tbody>
  73. {% for account in transfer_accounts %}
  74. <tr>
  75. <td>{{ account.name }}</td>
  76. <td class="text-center">{{ account.account }}</td>
  77. <td class="text-center">{{ account.swift }}</td>
  78. </tr>
  79. {% endfor %}
  80. </tbody>
  81. </table>
  82. </div>
  83. <p>{{ 'OnceItIsConfirmedYouWillReceiveAnEmailWithTheBankInformationAndAnOrderReference'|get_plugin_lang('BuyCoursesPlugin') }}</p>
  84. </div>
  85. </div>
  86. {{ form }}