summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-03-15 16:23:49 +0100
committeremkael <emkael@tlen.pl>2017-03-15 16:47:19 +0100
commit56c881aeed4289d5786ea81931d7b7cfb2e4dff8 (patch)
tree61587fb4e9da6aa1b13ce88883fdf966276a971e
parent6e4a24c7d60175fcfb029cdd3b178a7b5f079aaf (diff)
* mail template for activation link message
-rw-r--r--app/frontend/mail/config.xml6
-rw-r--r--app/frontend/mail/templates/activation-link.html19
2 files changed, 24 insertions, 1 deletions
diff --git a/app/frontend/mail/config.xml b/app/frontend/mail/config.xml
index 366e763..14ad6ab 100644
--- a/app/frontend/mail/config.xml
+++ b/app/frontend/mail/config.xml
@@ -5,6 +5,10 @@
class="Application.mail.MailModule"
ConfigPath="Application.mail.config"
TemplatePath="Application.mail.templates"
- TranslationCatalogue="messages" />
+ TranslationCatalogue="messages">
+ <mail-queue>
+ <template id="activation-link" />
+ </mail-queue>
+ </module>
</modules>
</configuration>
diff --git a/app/frontend/mail/templates/activation-link.html b/app/frontend/mail/templates/activation-link.html
new file mode 100644
index 0000000..8cb2e95
--- /dev/null
+++ b/app/frontend/mail/templates/activation-link.html
@@ -0,0 +1,19 @@
+<html>
+ <head>
+ <title i18n:translate="">Account activation</title>
+ </head>
+ <body>
+ <p i18n:translate="">
+ Welcome to rcal! To finish your registration, just click the activation link below.
+ </p>
+ <p>
+ <a href="{$link}" tal:content="link" />
+ </p>
+ <p i18n:translate="">
+ Have fun!
+ </p>
+ <p i18n:translate="">
+ rcal team.
+ </p>
+ </body>
+</html>