aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates/emails
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2015-12-12 21:14:28 +0100
committerFrançois Schmidts <francois.schmidts@gmail.com>2015-12-17 09:42:56 +0100
commitb35e9773198ef2d8b37c4ca223f08147db47de0b (patch)
treeba4b1b171b3c1ab9414a96ad264c47b0f9d1246b /src/web/templates/emails
parentUpdated link to Heroku deploy button on the About page. (diff)
downloadnewspipe-b35e9773198ef2d8b37c4ca223f08147db47de0b.tar.gz
newspipe-b35e9773198ef2d8b37c4ca223f08147db47de0b.tar.bz2
newspipe-b35e9773198ef2d8b37c4ca223f08147db47de0b.zip
moving the root of source code from / to /src/
Diffstat (limited to 'src/web/templates/emails')
-rw-r--r--src/web/templates/emails/new_account.html9
-rw-r--r--src/web/templates/emails/new_account.txt11
-rw-r--r--src/web/templates/emails/new_article.html1
-rw-r--r--src/web/templates/emails/new_article.txt1
4 files changed, 22 insertions, 0 deletions
diff --git a/src/web/templates/emails/new_account.html b/src/web/templates/emails/new_account.html
new file mode 100644
index 00000000..5b173e7e
--- /dev/null
+++ b/src/web/templates/emails/new_account.html
@@ -0,0 +1,9 @@
+<p>Hello {{ user.firstname }} {{ user.lastname }},</p>
+
+<p>An account has been created for you.
+You can now access the <a href="{{ platform_url }}">JARR platform</a>.
+Your login is your e-mail address and your password is:</p>
+
+<p><b>{{ password }}</b></p>
+
+<p>Regards,</p> \ No newline at end of file
diff --git a/src/web/templates/emails/new_account.txt b/src/web/templates/emails/new_account.txt
new file mode 100644
index 00000000..6397f502
--- /dev/null
+++ b/src/web/templates/emails/new_account.txt
@@ -0,0 +1,11 @@
+Hello {{ user.firstname }} {{ user.lastname }},
+
+An account has been created for you.
+You can now access the pyAggr3g470r platform ({{ platform_url }}).
+Your login is your e-mail address and your password is:
+
+---
+{{ password }}
+---
+
+Regards, \ No newline at end of file
diff --git a/src/web/templates/emails/new_article.html b/src/web/templates/emails/new_article.html
new file mode 100644
index 00000000..5a6b7c4a
--- /dev/null
+++ b/src/web/templates/emails/new_article.html
@@ -0,0 +1 @@
+{{ article.content | safe }} \ No newline at end of file
diff --git a/src/web/templates/emails/new_article.txt b/src/web/templates/emails/new_article.txt
new file mode 100644
index 00000000..9b800855
--- /dev/null
+++ b/src/web/templates/emails/new_article.txt
@@ -0,0 +1 @@
+{{ article.content | striptags }} \ No newline at end of file
bgstack15