forked from External/greenlight
		
	added footer to share email
This commit is contained in:
		@@ -339,7 +339,7 @@ class @Recordings
 | 
			
		||||
      recording_url = row.playbacks[0].url
 | 
			
		||||
      webcams_url = getHostName(recording_url) + '/presentation/' + id + '/video/webcams.webm'
 | 
			
		||||
      subject = username + I18n.recording_mail_subject
 | 
			
		||||
      body = I18n.recording_mail_body + "\n\n" + recording_url
 | 
			
		||||
      body = I18n.recording_mail_body + "\n\n" + recording_url + "\n\n" + I18n.email_footer_1 + "\n" + I18n.email_footer_2
 | 
			
		||||
 | 
			
		||||
      mailto = "mailto:?subject=" + encodeURIComponent(subject) + "&body=" + encodeURIComponent(body);
 | 
			
		||||
      window.open(mailto);
 | 
			
		||||
 
 | 
			
		||||
@@ -178,7 +178,7 @@ class BbbController < ApplicationController
 | 
			
		||||
      client = Yt::Account.new(access_token: current_user.token)
 | 
			
		||||
      video = client.upload_video(get_webcams_url(params[:record_id]),
 | 
			
		||||
              title: params[:video_title],
 | 
			
		||||
              description: t('youtube_description'),
 | 
			
		||||
              description: t('youtube_description', url: 'https://bigbluebutton.org/'),
 | 
			
		||||
              privacy_status: params[:privacy_status])
 | 
			
		||||
    rescue
 | 
			
		||||
      # In this case, they don't have a youtube channel connected to their account, so prompt to create one.
 | 
			
		||||
 
 | 
			
		||||
@@ -47,6 +47,8 @@ en-US:
 | 
			
		||||
    are_you_sure: Are you sure?
 | 
			
		||||
    change_visibility: Change visibility
 | 
			
		||||
    delete_recording: Delete
 | 
			
		||||
    email_footer_1: This e-mail is auto-generated by your friendly neighbourhood BigBlueButton server. Do no reply to this e-mail.
 | 
			
		||||
    email_footer_2: BigBlueButton is an open source web conferencing system. For more information on BigBlueButton and it's amazing capabilities, see https://bigbluebutton.org/ .
 | 
			
		||||
    enter_name: Enter a name to join
 | 
			
		||||
    mail_recording: Mail
 | 
			
		||||
    meeting_ended: Meeting was ended
 | 
			
		||||
@@ -171,7 +173,7 @@ en-US:
 | 
			
		||||
  wait_for_mod_explanation: You will automatically join when the meeting starts
 | 
			
		||||
  watch: Watch
 | 
			
		||||
  'yes': 'Yes'
 | 
			
		||||
  youtube_description: This recording was recorded with BigBlueButton. For more information check out https://bigbluebutton.org/
 | 
			
		||||
  youtube_description: This recording was recorded with BigBlueButton. For more information check out %{url}.
 | 
			
		||||
  youtube_privacy_options:
 | 
			
		||||
    public: Public
 | 
			
		||||
    private: Private
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user