Skip to content

Commit e5286f1

Browse files
authored
#2401 update some rpe emails (#2407)
* Update some RPE emails with official/unofficial disclaimer, and update subject * Remove 'compete' from RPE invitation email subject * Fix the FAQ links
1 parent 4f683fa commit e5286f1

File tree

4 files changed

+25
-3
lines changed

4 files changed

+25
-3
lines changed

app/mailers/event_mailer.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ def invite(invite_klass_name, invite_id, event_id)
4444
subject = %w(Account JudgeProfile UserInvitation).include?(
4545
invite_klass_name
4646
) ?
47-
"You are invited to judge a Technovation event" :
48-
"Your team is invited to compete in a Technovation event"
47+
"You are invited to judge a Technovation Girls event" :
48+
"Your team is invited to attend a Technovation Girls event"
4949

5050
I18n.with_locale(@invite.locale) do
5151
mail to: @invite.email,

app/mailers/team_mailer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def confirm_joined_event(team, member, event)
6363

6464
I18n.with_locale(@member.locale) do
6565
mail to: @member.email,
66-
subject: "#{@team.name} has joined the regional pitch event: #{@event.name}"
66+
subject: "#{@team.name} has joined a Technovation Girls event: #{@event.name}"
6767
end
6868
end
6969

app/views/event_mailer/invite.en.html.erb

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,17 @@
2525
<strong>City:</strong> <%= @event.city %>
2626
</td>
2727
</tr>
28+
<tr>
29+
<td class="content-block">
30+
Your event will be confirmed as either a Regional Pitch Event or Celebration Event
31+
after <%= ImportantDates.rpe_officiality_finalized.strftime("%B %-d") %>. Please sign
32+
into your account to verify the status of your event after that date. For more
33+
information about pitch events, please check out the
34+
<%= link_to "Technovation FAQ",
35+
"https://iridescentsupport.zendesk.com/hc/en-us/sections/360007469154-Regional-Pitch-Events"
36+
%>.
37+
</td>
38+
</tr>
2839
<tr>
2940
<td class="content-block"
3041
itemprop="handler"

app/views/team_mailer/confirm_joined_event.en.html.erb

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,17 @@
2727
<strong>City:</strong> <%= @event.city %>
2828
</td>
2929
</tr>
30+
<tr>
31+
<td class="content-block">
32+
Your event will be confirmed as either a Regional Pitch Event or Celebration Event
33+
after <%= ImportantDates.rpe_officiality_finalized.strftime("%B %-d") %>. Please sign
34+
into your account to verify the status of your event after that date. For more
35+
information about pitch events, please check out the
36+
<%= link_to "Technovation FAQ",
37+
"https://iridescentsupport.zendesk.com/hc/en-us/sections/360007469154-Regional-Pitch-Events"
38+
%>.
39+
</td>
40+
</tr>
3041
<tr>
3142
<td class="content-block"
3243
itemprop="handler"

0 commit comments

Comments
 (0)