add footer to Youtube prompt

This commit is contained in:
Josh 2017-07-06 13:17:12 -04:00
parent 034c5ba617
commit 704dab1e5c
4 changed files with 10 additions and 1 deletions

View File

@ -114,3 +114,9 @@
.tooltip-wrapper {
display: inline-block;
}
#youtube-footer{
font-size: 10px;
text-align: center;
margin-top: 10px;
}

View File

@ -43,7 +43,7 @@ class SessionsController < ApplicationController
def auth_failure
if params[:message] == 'invalid_credentials'
redirect_to '/', flash: {danger: 'Invalid login credentials.' }
redirect_to '/', flash: {danger: t('invalid_login') }
else
redirect_to '/'
end

View File

@ -76,6 +76,7 @@
<%= t('upload') %>
</button>
</div>
<p id = 'youtube-footer'><%= t('youtube_footer') %></p>
</form>
</div>
<div class='mail_youtube_popover'>

View File

@ -92,6 +92,7 @@ en-US:
home_page: Home page
home_title: Welcome to BigBlueButton
invalid_file: You may only upload an image file (jpg, gif, png).
invalid_login: Invalid log in credentials.
invite: Invite
invite_description: (share this link below to invite others to this meeting)
join: Join
@ -182,6 +183,7 @@ en-US:
watch: Watch
'yes': 'Yes'
youtube_description: This recording was recorded with BigBlueButton. For more information check out %{url}.
youtube_footer: this will upload all webcam and audio data
youtube_privacy_options:
public: Public
private: Private