listing.tpl 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <div class ="row">
  2. {% if bbb_status == true %}
  3. {% if show_join_button == true %}
  4. <div class ="span12" style="text-align:center">
  5. <a href="{{ conference_url }}" target="_blank" class="btn btn-primary btn-large">
  6. {{ 'EnterConference'|get_lang }}
  7. </a>
  8. <span id="users_online" class="label label-warning">{{ 'XUsersOnLine'| get_lang | format(users_online) }} </span>
  9. </div>
  10. {% endif %}
  11. <div class ="span12">
  12. <div class="page-header">
  13. <h2>{{ 'RecordList'|get_lang }}</h2>
  14. </div>
  15. <table class="table">
  16. <tr>
  17. <th>#</th>
  18. <th>{{ 'CreatedAt'|get_lang }}</th>
  19. <th>{{ 'Status'|get_lang }}</th>
  20. <th>{{ 'Records'|get_lang }}</th>
  21. {% if allow_to_edit %}
  22. <th>{{ 'Actions'|get_lang }}</th>
  23. {% endif %}
  24. </tr>
  25. {% for meeting in meetings %}
  26. <tr>
  27. <td>{{ meeting.id }}</td>
  28. <td>{{ meeting.created_at }}</td>
  29. <td>
  30. {% if meeting.status == 1 %}
  31. <span class="label label-success">{{ 'MeetingOpened'|get_lang }}</span>
  32. {% else %}
  33. <span class="label label-info">{{ 'MeetingClosed'|get_lang }}</span>
  34. {% endif %}
  35. </td>
  36. <td>
  37. {% if meeting.record == 1 %}
  38. {# Record list #}
  39. {{ meeting.show_links }}
  40. {% endif %}
  41. </td>
  42. {% if allow_to_edit %}
  43. <td>
  44. {% if meeting.status == 1 %}
  45. <a class="btn" href="{{ meeting.end_url }} "> {{ 'CloseMeeting'|get_lang }}</a>
  46. {% endif %}
  47. </td>
  48. {% endif %}
  49. </tr>
  50. {% endfor %}
  51. </table>
  52. </div>
  53. {% else %}
  54. <div class ="span12" style="text-align:center">
  55. {{ 'ServerIsNotRunning' | return_message('warning') }}
  56. </div>
  57. {% endif %}
  58. </div>