<% if logged_in? %> <% join_link = join_space_room_path(space, @room) %> <% else %> <% join_link = invite_space_room_path(space, @room) %> <% end %> <% if logged_in? %> <%= link_to join_link, :class => 'big_button orange_button bigbluebutton_button space-webconference-join', :"data-dropdown" => "#dropdown-join-webconf" do %> <%= t('button.join_webconference') %> <% end %> <%= render :partial => 'recordings/recording_start_links', :locals => { :resource => @room, :route => space_path(@space, :format => 'json') } %> <% else %> <%= link_to join_webconf_path(@room), :class => 'big_button orange_button bigbluebutton_button space-webconference-join' do %> <%= t('home.webconf.enter') %> <% end %> <% end %>