-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
send email and slack message when account gets deleted
- Loading branch information
Martin Fenner
committed
Nov 14, 2018
1 parent
261fa90
commit 7517619
Showing
7 changed files
with
86 additions
and
2 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<span class="preheader">Use this link to generate a password. The link is only valid for 24 hours.</span> | ||
<table class="email-wrapper" width="100%" cellpadding="0" cellspacing="0"> | ||
<tr> | ||
<td align="center"> | ||
<table class="email-content" width="100%" cellpadding="0" cellspacing="0"> | ||
<tr> | ||
<td class="email-masthead"> | ||
<a href="<%= ENV['BRACCO_URL'] %>" class="email-masthead_name"><%= @title %></a> | ||
</td> | ||
</tr> | ||
<!-- Email Body --> | ||
<tr> | ||
<td class="email-body" width="100%" cellpadding="0" cellspacing="0"> | ||
<table class="email-body_inner" align="center" width="570" cellpadding="0" cellspacing="0"> | ||
<!-- Body content --> | ||
<tr> | ||
<td class="content-cell"> | ||
<h1>Dear <%= @contact_name %>,</h1> | ||
<p>The <%= @title %> account named <%= @name %> has been deleted. If this was done in error, please | ||
reach out to DataCite Support and we can re-enable the <%= @name %> account. | ||
</p> | ||
</td> | ||
</tr> | ||
</table> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<table class="email-footer" align="center" width="570" cellpadding="0" cellspacing="0"> | ||
<tr> | ||
<td class="content-cell" align="center"> | ||
<p class="sub align-center"> | ||
DataCite | ||
<br>Am Welfengarten 1B | ||
<br>30167 Hannover | ||
<br>Germany | ||
<br><a href="mailto:[email protected]">[email protected]</a> | ||
</p> | ||
</td> | ||
</tr> | ||
</table> | ||
</td> | ||
</tr> | ||
</table> | ||
</td> | ||
</tr> | ||
</table> |
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 @@ | ||
Dear <%= @contact_name %>, | ||
|
||
The <%= @title %> account named <%= @name %> | ||
has been deleted. If this was done in error, please | ||
reach out to DataCite Support and we can re-enable the | ||
<%= @name %> account. | ||
|
||
Thanks, | ||
|
||
The DataCite Support Team | ||
|
||
|
||
DataCite | ||
Am Welfengarten 1B | ||
30167 Hannover | ||
Germany | ||
Email: [email protected] |