Added 'QR Code generation' as an optional feature

This commit is contained in:
jfederico
2017-08-15 19:01:36 +00:00
parent 970670ba6f
commit e0c856522f
10 changed files with 712 additions and 7 deletions

View File

@ -44,6 +44,7 @@ module Greenlight
config.mail_notifications = ENV['GREENLIGHT_MAIL_NOTIFICATIONS'] && ENV['GREENLIGHT_MAIL_NOTIFICATIONS'] == "true"
config.disable_guest_access = ENV['DISABLE_GUEST_ACCESS'] && ENV['DISABLE_GUEST_ACCESS'] == "true"
config.enable_youtube_uploading = ENV['ENABLE_YOUTUBE_UPLOADING'] && ENV['ENABLE_YOUTUBE_UPLOADING'] == "true"
config.enable_qrcode_generation = ENV['ENABLE_QRCODE_GENERATION'] && ENV['ENABLE_QRCODE_GENERATION'] == "true"
# SMTP and action mailer
if config.mail_notifications

View File

@ -159,6 +159,11 @@ en-US:
preferences_logged: You must be logged in to edit preferences.
presentation: Presentation
previous_meetings: (previous meetings)
qrcode:
explanation: Generate QR Code to invite others to the meeting
generated: Generated
generate_error: Error generating QR code
hint: Right click to download the image
return_to_room: Return to main page
session_url_explanation: The meeting will be taking place using the following URL
signin_text: Log in with %{provider}