session_panel.tpl 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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="" 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="active" role="presentation">
  9. <a href="session_panel.php" aria-controls="buy-sessions" role="tab">{{ 'MySessions'| get_lang }}</a>
  10. </li>
  11. {% endif %}
  12. <li id="buy-courses-tab" class="" role="presentation">
  13. <a href="payout_panel.php" aria-controls="buy-courses" role="tab">{{ 'MyPayouts'| get_plugin_lang('BuyCoursesPlugin') }}</a>
  14. </li>
  15. </ul>
  16. <table class="table table-striped table-hover">
  17. <thead>
  18. <tr>
  19. <th>{{ 'Session'|get_lang }}</th>
  20. <th class="text-center">{{ 'PaymentMethod'|get_plugin_lang('BuyCoursesPlugin') }}</th>
  21. <th class="text-center">{{ 'Price'|get_plugin_lang('BuyCoursesPlugin') }}</th>
  22. <th class="text-center">{{ 'OrderDate'|get_plugin_lang('BuyCoursesPlugin') }}</th>
  23. <th class="text-center">{{ 'OrderReference'|get_plugin_lang('BuyCoursesPlugin') }}</th>
  24. </tr>
  25. </thead>
  26. <tbody>
  27. {% for sale in sale_list %}
  28. <tr>
  29. <td>{{ sale.product_name }}</td>
  30. <td class="text-center">{{ sale.payment_type }}</td>
  31. <td class="text-right">{{ sale.currency ~ ' ' ~ sale.price }}</td>
  32. <td class="text-center">{{ sale.date }}</td>
  33. <td class="text-center">{{ sale.reference }}</td>
  34. </tr>
  35. {% endfor %}
  36. </tbody>
  37. </table>
  38. </div>