course_panel.tpl 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <link rel="stylesheet" type="text/css" href="../resources/css/style.css"/>
  2. <div id="buy-courses-tabs">
  3. <ul class="nav nav-tabs buy-courses-tabs" role="tablist">
  4. <li id="buy-courses-tab" class="active" role="presentation">
  5. <a href="course_panel.php" aria-controls="buy-courses" role="tab">{{ 'MyCourses'| get_lang }}</a>
  6. </li>
  7. {% if sessions_are_included %}
  8. <li id="buy-sessions-tab" class="" role="presentation">
  9. <a href="session_panel.php" aria-controls="buy-sessions" role="tab">{{ 'MySessions'| get_lang }}</a>
  10. </li>
  11. {% endif %}
  12. {% if services_are_included %}
  13. <li id="buy-services-tab" class="" role="presentation">
  14. <a href="service_panel.php" aria-controls="buy-services"
  15. role="tab">{{ 'MyServices'| get_plugin_lang('BuyCoursesPlugin') }}</a>
  16. </li>
  17. {% endif %}
  18. <li id="buy-courses-tab" class="" role="presentation">
  19. <a href="payout_panel.php" aria-controls="buy-courses"
  20. role="tab">{{ 'MyPayouts'| get_plugin_lang('BuyCoursesPlugin') }}</a>
  21. </li>
  22. </ul>
  23. <table class="table table-striped table-hover">
  24. <thead>
  25. <tr>
  26. <th>{{ 'Course'|get_lang }}</th>
  27. <th class="text-center">{{ 'PaymentMethod'|get_plugin_lang('BuyCoursesPlugin') }}</th>
  28. <th class="text-center">{{ 'Price'|get_plugin_lang('BuyCoursesPlugin') }}</th>
  29. <th class="text-center">{{ 'OrderDate'|get_plugin_lang('BuyCoursesPlugin') }}</th>
  30. <th class="text-center">{{ 'OrderReference'|get_plugin_lang('BuyCoursesPlugin') }}</th>
  31. </tr>
  32. </thead>
  33. <tbody>
  34. {% for sale in sale_list %}
  35. <tr>
  36. <td>{{ sale.product_name }}</td>
  37. <td class="text-center">{{ sale.payment_type }}</td>
  38. <td class="text-right">{{ sale.currency ~ ' ' ~ sale.price }}</td>
  39. <td class="text-center">{{ sale.date }}</td>
  40. <td class="text-center">{{ sale.reference }}</td>
  41. </tr>
  42. {% endfor %}
  43. </tbody>
  44. </table>
  45. </div>