forked from metaskills/757studio
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a reminder email system that is manually triggered by the RSVP…
…s admin.
- Loading branch information
1 parent
d34238b
commit e1ecbe3
Showing
7 changed files
with
79 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
app/views/rsvp_mailer/upcoming_event_reminder.text.plain.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
757 Studio Attendee, | ||
|
||
<%- if Rsvp.event_today? -%> | ||
Today is the day! | ||
<%- else -%> | ||
The event is only <%= (Rsvp.event_date-Date.today).days.inspect %> away! | ||
<%- end -%> | ||
<%- if @rsvp.reserved? -%> | ||
<%= mine_rsvp_url(:id =>@rsvp.slug) %> | ||
|
||
From this page, you will be able to edit your number of attendees and their names. If needed you will also be able to cancel your reservation with this link. Seating is limited, so please let us know if your reservation changes. | ||
<%- else -%> | ||
Seats are currently filled and you are on the waiting list. But when and if anyone cancels their reservation, you will receive an email with a chance to claim their seat. | ||
<%- end -%> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters