admin.tpl 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {{ search_form }}
  2. <table class="table table-hover table-striped">
  3. <thead>
  4. <tr>
  5. <th>{{ 'CreatedAt'|get_lang }}</th>
  6. <th>{{ 'Status'|get_lang }}</th>
  7. <th>{{ 'Records'|get_plugin_lang('BBBPlugin') }}</th>
  8. <th>{{ 'Course'|get_lang }}</th>
  9. <th>{{ 'Session'|get_lang }}</th>
  10. <th>{{ 'Participants'|get_lang }}</th>
  11. <th>{{ 'Actions'|get_lang }}</th>
  12. </tr>
  13. </thead>
  14. <tbody>
  15. {% for meeting in meetings %}
  16. <tr id="meeting-{{ meeting.id }}">
  17. {% if meeting.visibility == 0 %}
  18. <td class="muted">{{ meeting.created_at }}</td>
  19. {% else %}
  20. <td>{{ meeting.created_at }}</td>
  21. {% endif %}
  22. <td>
  23. {% if meeting.status == 1 %}
  24. <span class="label label-success">{{ 'MeetingOpened'|get_plugin_lang('BBBPlugin') }}</span>
  25. {% else %}
  26. <span class="label label-info">{{ 'MeetingClosed'|get_plugin_lang('BBBPlugin') }}</span>
  27. {% endif %}
  28. </td>
  29. <td>
  30. {% if meeting.record == 1 %}
  31. {# Record list #}
  32. {{ meeting.show_links }}
  33. {% endif %}
  34. </td>
  35. <td>{{ meeting.course ?: '-' }}</td>
  36. <td>{{ meeting.session ?: '-' }}</td>
  37. <td>
  38. {{ meeting.participants ? meeting.participants|join('<br>') : '-' }}
  39. </td>
  40. <td>
  41. {{ meeting.action_links }}
  42. </td>
  43. </tr>
  44. {% endfor %}
  45. </tbody>
  46. </table>