admin.tpl 1.5 KB

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