diff options
Diffstat (limited to 'web/templates/emails')
-rw-r--r-- | web/templates/emails/new_account.html | 9 | ||||
-rw-r--r-- | web/templates/emails/new_account.txt | 11 | ||||
-rw-r--r-- | web/templates/emails/new_article.html | 1 | ||||
-rw-r--r-- | web/templates/emails/new_article.txt | 1 |
4 files changed, 22 insertions, 0 deletions
diff --git a/web/templates/emails/new_account.html b/web/templates/emails/new_account.html new file mode 100644 index 00000000..5b173e7e --- /dev/null +++ b/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/web/templates/emails/new_account.txt b/web/templates/emails/new_account.txt new file mode 100644 index 00000000..6397f502 --- /dev/null +++ b/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/web/templates/emails/new_article.html b/web/templates/emails/new_article.html new file mode 100644 index 00000000..5a6b7c4a --- /dev/null +++ b/web/templates/emails/new_article.html @@ -0,0 +1 @@ +{{ article.content | safe }}
\ No newline at end of file diff --git a/web/templates/emails/new_article.txt b/web/templates/emails/new_article.txt new file mode 100644 index 00000000..9b800855 --- /dev/null +++ b/web/templates/emails/new_article.txt @@ -0,0 +1 @@ +{{ article.content | striptags }}
\ No newline at end of file |