admin.tpl 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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_lang }}</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. {% else %}
  34. {{ 'NoRecording'|get_plugin_lang('BBBPlugin') }}
  35. {% endif %}
  36. </td>
  37. <td>{{ meeting.course ?: '-' }}</td>
  38. <td>{{ meeting.session ?: '-' }}</td>
  39. <td>
  40. {{ meeting.participants ? meeting.participants|join('<br>') : '-' }}
  41. </td>
  42. <td>
  43. {{ meeting.action_links }}
  44. </td>
  45. </tr>
  46. {% endfor %}
  47. </tbody>
  48. </table>