<% unless room.new_record? %>
<%= link_to 'Show', bigbluebutton_room_path(room) %>
<%= link_to 'Edit', edit_bigbluebutton_room_path(room) %>
<%= link_to 'Destroy', bigbluebutton_room_path(room), :confirm => 'Are you sure?', :method => :delete %>
<%= link_to 'Join', join_bigbluebutton_room_path(room) %>
<%= link_to 'Mobile Join', join_mobile_bigbluebutton_room_path(room) %>
<%= link_to 'End', end_bigbluebutton_room_path(room), :confirm => 'Are you sure?' %>
<% end %>
<%= room.name %> (ID: <%= room.meetingid %>) -
<% if room.is_running? %>
Running!
<% else %>
Not running
<% end %>
<% unless room.start_time.nil? %>
Started at: <%= room.start_time.strftime("%F, %R UTC%z") %>
<% end %>
<% unless room.end_time.nil? %>
Ended at: <%= room.end_time.strftime("%F, %R UTC%z") %> (forcibly ended: <%= room.has_been_forcibly_ended %>)
<% end %>
<% unless room.attendees.count == 0 %>
Participants (<%= room.participant_count %> total, <%= room.moderator_count %> moderators):
<% room.attendees.each do |attendee| %>
<%= attendee.role %>
<%= attendee.user_id %>
<%= attendee.full_name %>
<% end %>
<% end %>
<% end %>