-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#92 Add plain text email for confirm contact
Requires npm update!
- Loading branch information
Showing
4 changed files
with
91 additions
and
11 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
17 changes: 17 additions & 0 deletions
17
app/views/email-templates-text/confirm-contact.server.view.html
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 @@ | ||
{% extends 'email.server.view.html' %} | ||
|
||
{% block content %} | ||
Hey {{name}}! | ||
|
||
{{meName}} would like to connect with you on Trustroots. | ||
|
||
{% if message %} | ||
{{message}} | ||
{% endif %} | ||
|
||
To confirm or discard this connection, please click the link below. | ||
|
||
<{{urlConfirm}}> | ||
|
||
{{meName}}: {{meURL}} | ||
{% endblock %} |
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,38 @@ | ||
{#<!-- | ||
# Mail base template | ||
# | ||
# Based on: | ||
# @link https://raw.githubusercontent.com/TomFrankly/mailchimp-responsive-template/master/Responsive%20Basic%20Chopped%20and%20Screwed.html | ||
# License: @link http://creativecommons.org/licenses/by-sa/3.0/ | ||
# | ||
# | ||
# | ||
# | ||
# This email is optimized for mobile email clients, and even | ||
# works relatively well in the Android Gmail App, which does | ||
# not support Media Queries, but does have limited mobile- | ||
# friendly functionality. | ||
# | ||
# While this coding method is very flexible, it can be more | ||
# brittle than traditionally-coded emails, particularly in | ||
# Microsoft Outlook 2007-2010. Outlook-specific conditional | ||
# CSS is included to counteract the inconsistencies that | ||
# crop up. | ||
#--> | ||
#} | ||
{% if mailTitle %}{{ mailTitle }} | ||
{% else %}{{title}} | ||
{% endif %} | ||
---------------------------------------------------------------------- | ||
|
||
{% block content %}{% endblock %} | ||
|
||
-- | ||
Trustroots | ||
{% if url %}{{url}}{% endif %} | ||
|
||
Remember, I'm just a little mail robot so don't reply this email. Contact us if you want to talk to a human: {{url}}/#!/contact | ||
{% if ourMail %} | ||
|
||
Please add '{{ourMail}}' to your contact list to avoid our mails going to spam folder. | ||
{% endif %} |
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