pending_orders.tpl 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <script type='text/javascript' src="../js/buycourses.js"></script>
  2. <link rel="stylesheet" type="text/css" href="../resources/plugin.css"/>
  3. <div class="row">
  4. <div class="span12">
  5. <table id="orders_table" class="data_table">
  6. <tr class="row_odd">
  7. <th class="ta-center">{{ 'ReferenceOrder'|get_plugin_lang('BuyCoursesPlugin') }}</th>
  8. <th>{{ 'Name'|get_lang }}</th>
  9. <th>{{ 'Title'|get_lang }}</th>
  10. <th class="span2">{{ 'Price'|get_lang }}</th>
  11. <th class="ta-center">{{ 'Date'|get_lang }}</th>
  12. <th class="span2 ta-center">{{ 'Options'|get_lang }}</th>
  13. </tr>
  14. {% set i = 0 %}
  15. {% for order in pending %}
  16. {{ i%2==0 ? '<tr class="row_even">' : '<tr class="row_odd">' }}
  17. {% set i = i + 1 %}
  18. <td class="ta-center">{{ order.reference }}</td>
  19. <td>{{ order.name }}</td>
  20. <td>{{ order.title }}</td>
  21. <td>{{ order.price }} {{ currency }}</td>
  22. <td class="ta-center">{{ order.date }}</td>
  23. <td class="ta-center" id="order{{ order.cod }}">
  24. <img src="{{ confirmation_img }}" alt="ok" class="cursor confirm_order"
  25. title="{{ 'SubscribeUser'|get_plugin_lang('BuyCoursesPlugin') }}"/>
  26. &nbsp;&nbsp;
  27. <img src="{{ delete_img }}" alt="delete" class="cursor clear_order"
  28. title="{{ 'DeleteTheOrder'|get_plugin_lang('BuyCoursesPlugin') }}"/>
  29. </td>
  30. </tr>
  31. {% endfor %}
  32. </table>
  33. </div>
  34. <div class="cleared"></div>
  35. </div>