aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates/emails
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-12-17 13:05:26 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-12-17 13:05:26 +0100
commit0312e25586d381cc53935c2fd4912378cd292d6e (patch)
treeb04ad1a26edd4c67701d0d704c8ce8c554b2ae42 /src/web/templates/emails
parentUpdated link to Heroku deploy button on the About page. (diff)
parenthandling failing feed link (diff)
downloadnewspipe-0312e25586d381cc53935c2fd4912378cd292d6e.tar.gz
newspipe-0312e25586d381cc53935c2fd4912378cd292d6e.tar.bz2
newspipe-0312e25586d381cc53935c2fd4912378cd292d6e.zip
Merge pull request #24 from jaesivsm/master
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