diff options
author | emkael <emkael@tlen.pl> | 2017-03-15 16:23:49 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2017-03-15 16:47:19 +0100 |
commit | 56c881aeed4289d5786ea81931d7b7cfb2e4dff8 (patch) | |
tree | 61587fb4e9da6aa1b13ce88883fdf966276a971e /app/frontend | |
parent | 6e4a24c7d60175fcfb029cdd3b178a7b5f079aaf (diff) |
* mail template for activation link message
Diffstat (limited to 'app/frontend')
-rw-r--r-- | app/frontend/mail/config.xml | 6 | ||||
-rw-r--r-- | app/frontend/mail/templates/activation-link.html | 19 |
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> |