forked from External/greenlight
		
	replace logout with return to personal room
This commit is contained in:
		@@ -19,6 +19,7 @@
 | 
				
			|||||||
  margin:auto;
 | 
					  margin:auto;
 | 
				
			||||||
  width: 200px;
 | 
					  width: 200px;
 | 
				
			||||||
  padding: 0;
 | 
					  padding: 0;
 | 
				
			||||||
 | 
					  cursor: pointer;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.meetings {
 | 
					.meetings {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -18,10 +18,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
 | 
				
			|||||||
    <h2>
 | 
					    <h2>
 | 
				
			||||||
      <% if admin? && !@meeting_running %>
 | 
					      <% if admin? && !@meeting_running %>
 | 
				
			||||||
        <%= t('your_personal_room') %>
 | 
					        <%= t('your_personal_room') %>
 | 
				
			||||||
      <% elsif !admin? %>
 | 
					 | 
				
			||||||
        <%= t('join_session_user', name: @user.username) %>
 | 
					 | 
				
			||||||
      <% else %>
 | 
					      <% else %>
 | 
				
			||||||
        <%= t('join_session') %>
 | 
					        <%= t('user_person_room', name: @user.name) %>
 | 
				
			||||||
      <% end %>
 | 
					      <% end %>
 | 
				
			||||||
    </h2>
 | 
					    </h2>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
@@ -38,8 +36,10 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
 | 
				
			|||||||
        <%= render 'landing/invite_join' %>
 | 
					        <%= render 'landing/invite_join' %>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
    <% else %>
 | 
					    <% else %>
 | 
				
			||||||
      <%= render 'shared/meeting_url', hidden: true %>
 | 
					      <div class="text-center">
 | 
				
			||||||
      <%= render 'shared/join_form' %>
 | 
					        <div><%= t('are_you', name: @user.name) %></div>
 | 
				
			||||||
 | 
					        <div class=""><%= link_to t('login'), '/users/login' %></div>
 | 
				
			||||||
 | 
					      </div>
 | 
				
			||||||
    <% end %>
 | 
					    <% end %>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
<% end %>
 | 
					<% end %>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -30,7 +30,11 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
 | 
				
			|||||||
      <% end %>
 | 
					      <% end %>
 | 
				
			||||||
    </div>
 | 
					    </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">
 | 
					    <div class="table-wrapper">
 | 
				
			||||||
      <table id="recordings" class="table" width="100%">
 | 
					      <table id="recordings" class="table" width="100%">
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -37,7 +37,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
en-US:
 | 
					en-US:
 | 
				
			||||||
  actions: Actions
 | 
					  actions: Actions
 | 
				
			||||||
  are_you: Are you %{name}?
 | 
					  are_you: Are you %{name} ?
 | 
				
			||||||
  are_you_sure: Are you sure?
 | 
					  are_you_sure: Are you sure?
 | 
				
			||||||
  change_recording_visibility: "Change visibility to:"
 | 
					  change_recording_visibility: "Change visibility to:"
 | 
				
			||||||
  client:
 | 
					  client:
 | 
				
			||||||
@@ -76,9 +76,7 @@ en-US:
 | 
				
			|||||||
  invite: Invite
 | 
					  invite: Invite
 | 
				
			||||||
  invite_description: (share this link below to invite others to this meeting)
 | 
					  invite_description: (share this link below to invite others to this meeting)
 | 
				
			||||||
  join: Join
 | 
					  join: Join
 | 
				
			||||||
  join_session: Join the current meeting
 | 
					 | 
				
			||||||
  join_session_id: Join %{id}
 | 
					  join_session_id: Join %{id}
 | 
				
			||||||
  join_session_user: Join %{name} meeting
 | 
					 | 
				
			||||||
  logged_in_description_html: You are logged in as %{link}
 | 
					  logged_in_description_html: You are logged in as %{link}
 | 
				
			||||||
  login: login
 | 
					  login: login
 | 
				
			||||||
  login_description: Want your own recorded meetings?
 | 
					  login_description: Want your own recorded meetings?
 | 
				
			||||||
@@ -111,6 +109,7 @@ en-US:
 | 
				
			|||||||
  your_personal_room: Your Personal Room
 | 
					  your_personal_room: Your Personal Room
 | 
				
			||||||
  thumbnails: Thumbnails
 | 
					  thumbnails: Thumbnails
 | 
				
			||||||
  url_copy_explanation: Copy this URL to invite others to the meeting
 | 
					  url_copy_explanation: Copy this URL to invite others to the meeting
 | 
				
			||||||
 | 
					  user_person_room: "%{name} personal room"
 | 
				
			||||||
  video: Video
 | 
					  video: Video
 | 
				
			||||||
  visibility: Visibility
 | 
					  visibility: Visibility
 | 
				
			||||||
  wait_for_mod_msg: Looks like you're the first one here...
 | 
					  wait_for_mod_msg: Looks like you're the first one here...
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user