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

View File

@ -35,7 +35,7 @@ en-US:
unpublish_recording: Hide recording unpublish_recording: Hide recording
copied: Copied copied: Copied
copy_error: Use Ctrl-c to copy copy_error: Use Ctrl-c to copy
create_session: Create a session create_session: Create a Session
create_your_session: Create your own session create_your_session: Create your own session
date_recorded: Date date_recorded: Date
duration: Duration duration: Duration
@ -59,7 +59,7 @@ en-US:
return_to_room: Return to your personal room return_to_room: Return to your personal room
session_url_explanation: The session will be taking place using the following URL session_url_explanation: The session will be taking place using the following URL
start: Start start: Start
start_new_session: Start a new session 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
url_refresh_hint: Generate a new meeting URL url_refresh_hint: Generate a new meeting URL