');
diff --git a/app/views/shared/_meeting_url.html.erb b/app/views/shared/_meeting_url.html.erb
index 39273a35..5b0124e6 100644
--- a/app/views/shared/_meeting_url.html.erb
+++ b/app/views/shared/_meeting_url.html.erb
@@ -17,6 +17,7 @@ with BigBlueButton; if not, see .
+
<% if params[:action] == 'index' %>
.
<% end %>
+
.
>
+
+ <% if current_user %>
+ <% body = t('meeting_invite.signed_in.body', user: current_user.name) %>
+ <% subject = t('meeting_invite.signed_in.subject', user: current_user.name) %>
+ <% else %>
+ <% body = t('meeting_invite.not_signed_in.body') %>
+ <% subject = t('meeting_invite.not_signed_in.subject') %>
+ <% end %>
+
+
diff --git a/config/locales/en-us.yml b/config/locales/en-us.yml
index 3a058fa3..9789b312 100644
--- a/config/locales/en-us.yml
+++ b/config/locales/en-us.yml
@@ -67,6 +67,14 @@ en-US:
join_session_user: Join %{name} session
login: login
logout: logout
+ meeting_invite:
+ explanation: Send an email with an invitation to this meeting
+ not_signed_in:
+ body: "You have been invited to a meeting.\n\nPlease open the following page in your web browser: &&URL&&"
+ subject: "Invitation to a meeting"
+ signed_in:
+ body: "You have been invited by %{user} to a meeting.\n\nPlease open the following page in your web browser: &&URL&&"
+ subject: "%{user} invited you to a meeting"
my_room: my room
no: No
oauth_signup: Signup for customized sessions