aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r--pyaggr3g470r/templates/emails/new_account.html9
-rw-r--r--pyaggr3g470r/templates/emails/new_account.txt11
-rw-r--r--pyaggr3g470r/templates/emails/new_article.html1
-rw-r--r--pyaggr3g470r/templates/emails/new_article.txt1
4 files changed, 22 insertions, 0 deletions
diff --git a/pyaggr3g470r/templates/emails/new_account.html b/pyaggr3g470r/templates/emails/new_account.html
new file mode 100644
index 00000000..f6139507
--- /dev/null
+++ b/pyaggr3g470r/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 }}">pyAggr3g470r 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/pyaggr3g470r/templates/emails/new_account.txt b/pyaggr3g470r/templates/emails/new_account.txt
new file mode 100644
index 00000000..6397f502
--- /dev/null
+++ b/pyaggr3g470r/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/pyaggr3g470r/templates/emails/new_article.html b/pyaggr3g470r/templates/emails/new_article.html
new file mode 100644
index 00000000..5a6b7c4a
--- /dev/null
+++ b/pyaggr3g470r/templates/emails/new_article.html
@@ -0,0 +1 @@
+{{ article.content | safe }} \ No newline at end of file
diff --git a/pyaggr3g470r/templates/emails/new_article.txt b/pyaggr3g470r/templates/emails/new_article.txt
new file mode 100644
index 00000000..9b800855
--- /dev/null
+++ b/pyaggr3g470r/templates/emails/new_article.txt
@@ -0,0 +1 @@
+{{ article.content | striptags }} \ No newline at end of file
bgstack15