listing.tpl 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <div class ="row">
  2. {% if openmeetings_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 btn-default" href="{{ meeting.end_url }} "> {{ 'CloseMeeting' | get_lang }}</a>
  46. {% endif %}
  47. <a class="btn btn-danger" href="{{ meeting.delete_url }} "> {{ 'DeleteMeeting' | get_lang }}</a>
  48. </td>
  49. {% endif %}
  50. </tr>
  51. {% endfor %}
  52. </table>
  53. </div>
  54. {% else %}
  55. <div class ="span12" style="text-align:center">
  56. {{ 'ServerIsNotRunning' | return_message('warning') }}
  57. </div>
  58. {% endif %}
  59. </div>