diff options
-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> |