forked from External/greenlight
		
	Send an email to the user when a recording is done processing
Had to add an email attribute to users to store their email to send the notification. Will only send it for user rooms since they are the only ones we know who to notify.
This commit is contained in:
		
							
								
								
									
										11
									
								
								app/views/notification_mailer/recording_ready_email.html.erb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								app/views/notification_mailer/recording_ready_email.html.erb
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html>
 | 
			
		||||
  <head>
 | 
			
		||||
    <meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
 | 
			
		||||
  </head>
 | 
			
		||||
  <body>
 | 
			
		||||
    <p><%= t('.hi', name: @user.name) %></p>
 | 
			
		||||
    <p><%= t('.phrase1') %></p>
 | 
			
		||||
    <p><%= t('.phrase2', url: @room_url) %></p>
 | 
			
		||||
  </body>
 | 
			
		||||
</html>
 | 
			
		||||
		Reference in New Issue
	
	Block a user