-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
62 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
49 changes: 49 additions & 0 deletions
49
app/views/registration_mailer/confirm_unsubscribing.html.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,49 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' /> | ||
</head> | ||
<body> | ||
<p>Dear <%= @registration.name %>,</p> | ||
|
||
<p>This email is confirms you have unsubscribed for the following event:</p> | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong. |
||
|
||
<table> | ||
<tbody> | ||
<tr> | ||
<td><strong>Event</strong></td> | ||
<td><%= @event.name %></td> | ||
</tr> | ||
<tr> | ||
<td><strong>Organisation</strong></td> | ||
<td><%= @event.club.name %></td> | ||
</tr> | ||
<tr> | ||
<td><strong>Location</strong></td> | ||
<td><%= @event.location %></td> | ||
</tr> | ||
<tr> | ||
<td><strong>Start date</strong></td> | ||
<td><%= nice_time @event.start_date %></td> | ||
</tr> | ||
<tr> | ||
<td><strong>End date</strong></td> | ||
<td><%= nice_time @event.end_date %></td> | ||
</tr> | ||
<tr> | ||
<td><strong>Website</strong></td> | ||
<td><a href="<%= @event.website %>"><%= @event.website %></a></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
<p>If you have any problems, you can contact us via mail: <%= mail_to @event.contact_email, @event.contact_email %></p> | ||
|
||
<p>Kind regards,<br /><%= @event.club.name %></p> | ||
|
||
<% unless @event.signature.blank? %> | ||
<%= simple_format @event.signature %> | ||
<% end %> | ||
|
||
</body> | ||
</html> |
File renamed without changes.
File renamed without changes.
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
is to confirm?