listing.tpl 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. {% if meeting.visibility == 0 %}
  29. <td class="muted">{{ meeting.created_at }}</td>
  30. {% else %}
  31. <td>{{ meeting.created_at }}</td>
  32. {% endif %}
  33. <td>
  34. {% if meeting.status == 1 %}
  35. <span class="label label-success">{{ 'MeetingOpened'|get_lang }}</span>
  36. {% else %}
  37. <span class="label label-info">{{ 'MeetingClosed'|get_lang }}</span>
  38. {% endif %}
  39. </td>
  40. <td>
  41. {% if meeting.record == 1 %}
  42. {# Record list #}
  43. {{ meeting.show_links }}
  44. {% endif %}
  45. </td>
  46. {% if allow_to_edit %}
  47. <td>
  48. {% if meeting.status == 1 %}
  49. <a class="btn btn-default" href="{{ meeting.end_url }} "> {{ 'CloseMeeting'|get_lang }}</a>
  50. {% else %}
  51. {{ meeting.action_links }}
  52. {% endif %}
  53. </td>
  54. {% endif %}
  55. </tr>
  56. {% endfor %}
  57. </table>
  58. </div>
  59. {% else %}
  60. <div class ="span12" style="text-align:center">
  61. {{ 'ServerIsNotRunning' | return_message('warning') }}
  62. </div>
  63. {% endif %}
  64. </div>