listing.html.twig 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {% autoescape false %}
  2. <div class ="row">
  3. {% if bbb_status == true %}
  4. {% if show_join_button == true %}
  5. <div class ="span12" style="text-align:center">
  6. {{ form }}
  7. <p>
  8. <a href="{{ conference_url }}" target="_blank" class="btn btn-primary btn-large">
  9. {{ 'EnterConference'|get_lang }}
  10. </a>
  11. <span id="users_online" class="label label-warning">
  12. {{ 'XUsersOnLine'| get_lang | format(users_online) }}
  13. </span>
  14. </p>
  15. <div class="well">
  16. <strong>{{ 'UrlMeetingToShare'|get_lang }}</strong>
  17. <input type="text" class="form-control text-center" readonly value="{{ conference_url }}">
  18. </div>
  19. </div>
  20. {% endif %}
  21. <div class ="span12">
  22. <div class="page-header">
  23. <h2>{{ 'RecordList'|get_lang }}</h2>
  24. </div>
  25. <table class="table">
  26. <tr>
  27. <!-- th>#</th -->
  28. <th>{{ 'CreatedAt'|get_lang }}</th>
  29. <th>{{ 'Status'|get_lang }}</th>
  30. <th>{{ 'Records'|get_lang }}</th>
  31. {% if allow_to_edit %}
  32. <th>{{ 'Actions'|get_lang }}</th>
  33. {% endif %}
  34. </tr>
  35. {% for meeting in meetings %}
  36. <tr>
  37. <!-- td>{{ meeting.id }}</td -->
  38. {% if meeting.visibility == 0 %}
  39. <td class="muted">{{ meeting.created_at }}</td>
  40. {% else %}
  41. <td>{{ meeting.created_at }}</td>
  42. {% endif %}
  43. <td>
  44. {% if meeting.status == 1 %}
  45. <span class="label label-success">{{ 'MeetingOpened'|get_lang }}</span>
  46. {% else %}
  47. <span class="label label-info">{{ 'MeetingClosed'|get_lang }}</span>
  48. {% endif %}
  49. </td>
  50. <td>
  51. {% if meeting.record == 1 %}
  52. {# Record list #}
  53. {{ meeting.show_links }}
  54. {% endif %}
  55. </td>
  56. {% if allow_to_edit %}
  57. <td>
  58. {% if meeting.status == 1 %}
  59. <a class="btn btn-default" href="{{ meeting.end_url }} "> {{ 'CloseMeeting'|get_lang }}</a>
  60. {% else %}
  61. {{ meeting.action_links }}
  62. {% endif %}
  63. </td>
  64. {% endif %}
  65. </tr>
  66. {% endfor %}
  67. </table>
  68. </div>
  69. {% endif %}
  70. </div>
  71. {% endautoescape %}