update room title

This commit is contained in:
Zachary Chai 2016-11-24 16:55:54 -05:00
parent 40e7540673
commit 48fe071af1
2 changed files with 11 additions and 9 deletions

View File

@ -1,12 +1,14 @@
<% content_for :title do %>
<div class="title">
<% if admin? && !@meeting_running %>
<%= t('start_new_session') %>
<% elsif !admin? %>
<%= t('join_session_user', name: @user.username) %>
<% else %>
<%= t('join_session') %>
<% end %>
<h2>
<% if admin? && !@meeting_running %>
<%= t('your_personal_room') %>
<% elsif !admin? %>
<%= t('join_session_user', name: @user.username) %>
<% else %>
<%= t('join_session') %>
<% end %>
</h2>
</div>
<% end %>

View File

@ -35,7 +35,7 @@ en-US:
unpublish_recording: Hide recording
copied: Copied
copy_error: Use Ctrl-c to copy
create_session: Create a session
create_session: Create a Session
create_your_session: Create your own session
date_recorded: Date
duration: Duration
@ -59,7 +59,7 @@ en-US:
return_to_room: Return to your personal room
session_url_explanation: The session will be taking place using the following URL
start: Start
start_new_session: Start a new session
your_personal_room: Your Personal Room
thumbnails: Thumbnails
url_copy_explanation: Copy this URL to invite others to the meeting
url_refresh_hint: Generate a new meeting URL