rewording and consolidating some conditions

This commit is contained in:
Zachary Chai
2017-02-03 14:05:12 -05:00
parent 8719956ba4
commit 4a90de057c
8 changed files with 36 additions and 50 deletions

View File

@ -1,4 +1,4 @@
<div class="invite-join-wrapper hidden">
<div class="row invite-join-wrapper hidden">
<div class="col-xs-6">
<%= render 'shared/title', title: t('invite') do %>
<span><%= t('invite_description') %></span>
@ -9,7 +9,7 @@
<div class="col-xs-6">
<%= render 'shared/title', title: t('join'), title_class: 'join-meeting-title' %>
<button type="button" class="btn btn-primary center-block meeting-start">
<%= t('start_meeting') %>
<%= t('start_join') %>
</button>
</div>
</div>

View File

@ -1,6 +1,6 @@
<div class="previously-joined-wrapper hidden">
<div class="list-group text-center">
<h4><%= t('previously_joined_meetings') %></h4>
<h4><%= t('previous_meetings') %></h4>
<ul class="previously-joined"></ul>
</div>
</div>

View File

@ -17,7 +17,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
<div class="title">
<h2>
<% if admin? && !@meeting_running %>
<%= t('your_personal_room') %>
<%= t('admin_room_title', user: @user.name) %>
<% else %>
<%= t('user_person_room', name: @user.name) %>
<% end %>

View File

@ -16,7 +16,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
<% content_for :title do %>
<div class="title">
<h2>
<%= t('join_session_id', id: @meeting_id) %>
<%= "\"#{@meeting_id}\"" %>
</h2>
</div>
<% end %>

View File

@ -15,7 +15,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
<% content_for :title do %>
<div class="title">
<h2><%= t('join_session_id', id: @meeting_id) %></h2>
<h2><%= "\"#{@meeting_id}\"" %></h2>
</div>
<% end %>