<% 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 => t('are_you_sure'), :method => :delete %>
<%= link_to t('join.button'), join_bigbluebutton_room_path(room) %>
<%= link_to t('bigbluebutton_rails.rooms.index.join_mobile'), join_mobile_bigbluebutton_room_path(room) %>
<%= link_to t('bigbluebutton_rails.servers.activity.end'), end_bigbluebutton_room_path(room), :confirm => t('are_you_sure') %>
<% end %>
<%= room.name %> (ID: <%= room.meetingid %>) -
<% if room.is_running? %>
<%= t('bigbluebutton_rails.servers.activity.running') %>
<% else %>
<%= t('bigbluebutton_rails.servers.activity.not_running') %>
<% end %>
<% unless room.start_time.nil? %>
<%= t('bigbluebutton_rails.servers.activity.started_at', :time => room.start_time.strftime("%F, %R UTC%z")) %>
<% end %>
<% unless room.end_time.nil? %>
<%= t('bigbluebutton_rails.servers.activity.ended_at', :time => room.end_time.strftime("%F, %R UTC%z"), :forcibly => room.has_been_forcibly_ended) %>
<% end %>
<% unless room.attendees.count == 0 %>
<%= t('bigbluebutton_rails.servers.activity.participants', :total => room.participant_count, :mods => room.moderator_count) %>
<% room.attendees.each do |attendee| %>
<%= attendee.role %>
<%= attendee.user_id %>
<%= attendee.full_name %>
<% end %>
<% end %>
<% end %>