replace logout with return to personal room

This commit is contained in:
Zachary Chai
2017-02-02 17:09:29 -05:00
parent 40add376b2
commit e2fc9863fe
4 changed files with 13 additions and 9 deletions

View File

@ -19,6 +19,7 @@
margin:auto;
width: 200px;
padding: 0;
cursor: pointer;
}
.meetings {

View File

@ -18,10 +18,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
<h2>
<% if admin? && !@meeting_running %>
<%= t('your_personal_room') %>
<% elsif !admin? %>
<%= t('join_session_user', name: @user.username) %>
<% else %>
<%= t('join_session') %>
<%= t('user_person_room', name: @user.name) %>
<% end %>
</h2>
</div>
@ -38,8 +36,10 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
<%= render 'landing/invite_join' %>
</div>
<% else %>
<%= render 'shared/meeting_url', hidden: true %>
<%= render 'shared/join_form' %>
<div class="text-center">
<div><%= t('are_you', name: @user.name) %></div>
<div class=""><%= link_to t('login'), '/users/login' %></div>
</div>
<% end %>
</div>
<% end %>

View File

@ -30,7 +30,11 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
<% end %>
</div>
<%= render 'shared/signup' %>
<% if !@main_room %>
<div class="row text-center">
<%= link_to(t('return_to_room'), current_user.room_url) %>
</div>
<% end %>
<div class="table-wrapper">
<table id="recordings" class="table" width="100%">