<% menu(:webconference) %> <%= content_for :javascript do %> $('#sidebar img.tooltip_invite_people').qtip({ content: '<%= escape_javascript(t("tooltip.invite_people")) %>', position: {adjust: { screen: true }}, show: 'mouseover', hide: { when: 'mouseout', fixed: true }, style: 'mystyle' }); $("a#invite_bbb_link").fancybox({ 'hideOnContentClick' : false, 'frameWidth' : 450, 'frameHeight' : 430 }); $("a#join_mobile_button").fancybox({ 'hideOnContentClick' : false, 'frameWidth' : 250, 'frameHeight' : 500 }); recListUpdateStart = function() { $("#update-recordings-loading").show(); } recListUpdateEnd = function(error) { $("#update-recordings-loading").hide(); if (error) { $("#update-recordings-error").show(); window.setTimeout(function() { $("#update-recordings-error").hide(); }, 5000); $("#recording-list-wrapper").effect("highlight", { color: "#ff0000"}, 5000); } else { $("#update-recordings-success").show(); window.setTimeout(function() { $("#update-recordings-success").hide(); }, 5000); if ($("#recording-list-wrapper").is(":visible")) { $("#recording-list-wrapper").effect("highlight", { color: "#00ff00"}, 5000); } } } populateList = function(showMessage) { $.get("<%= recordings_space_path(@space, :partial => '1', :limit => 3) %>", { authenticity_token: "<%= form_authenticity_token() %>" }).fail(function() { if (showMessage == true) { recListUpdateEnd(true); } }).success(function(data) { if (data.trim() != "") { $("#recording-list-wrapper").show(); $("#recording-list-wrapper").html(data); } else { $("#recording-list-wrapper").hide(); } if (showMessage == true) { recListUpdateEnd(false); } }); } <% if logged_in? %> recListUpdateStart(); $.post("<%= fetch_recordings_bigbluebutton_room_path(@room, :format => 'json') %>", { authenticity_token: "<%= form_authenticity_token() %>" }, null, "html").fail(function() { recListUpdateEnd(true); }).success(function(data) { populateList(true); }); <% else %> populateList(false); <% end %> <% end %> <%= content_for :search do %> <%= render :partial => 'search/form' %> <% end %> <%= content_for :sidebar do %> <%= render :partial => 'sidebar' %> <% end %>
<% status = @room.is_running? ? t('webconference.running')+"!" : t('webconference.not_running') %> <%= t('webconference.space.description', :status => status).html_safe %>
<%= t('webconference.space.share') %>
<%= t('url_plain') %>: <%= join_webconf_url(@room) %> <% if logged_in? %>
<%= link_to t('button.invite'), inviteroom_invite_path(:type => "webconference", :room => space.bigbluebutton_room.to_param), :id => 'invite_bbb_link', :class => 'basic_button' %>
<% end %>

<%=image_tag("icons/user.png")%> <%= t('webconference.title_people_conf') %> (<%= @room.participant_count %>)

<% @bbb_attendees.each do |user| %>
<%= render :partial => 'users/detailed_user', :object => user %>
<% end %>

<%= t('space.recordings.latest_recordings', :count => @recordings.count) %> <%= link_to t('space.recordings.view_all'), recordings_space_path(@space), :class => 'title-options' %>
<%= t("recordings.update_list.error") %> <%= image_tag "icons/exclamation.png", :size => "16x16" %>
<%= t("recordings.update_list.success") %> <%= image_tag "icons/accept.png", :size => "16x16" %>
<%= t("recordings.update_list.updating") %> <%= image_tag "icons/loading-16x16.gif", :size => "16x16" %>

<%= render :partial => 'recordings/recording_list', :locals => {:recordings => @recordings} %>