currentfeature/docs
Last change
on this file since b8ef4ab was
b8ef4ab,
checked in by Borja Lopez <borja@…>, 5 years ago
|
(#61) Better templates for "verify your account" emails:
- Send a multipart text/html email (instead text only)
- Added some styling to the html version of the email,
based on our current login page styles.
Important: as the html version contains html code generated using
request.resource_url() and request.static_url(), when running in
development mode under http://localhost, the links to images
and css files in the rendered email point to localhost, so they
won't work outside the machine running openworkouts.
|
-
Property mode set to
100644
|
File size:
1.5 KB
|
Rev | Line | |
---|
[b8ef4ab] | 1 | <html xmlns="http://www.w3.org/1999/xhtml" |
---|
| 2 | xml:lang="en" |
---|
| 3 | xmlns:tal="http://xml.zope.org/namespaces/tal" |
---|
| 4 | xmlns:metal="http://xml.zope.org/namespaces/metal" |
---|
| 5 | xmlns:i18n="http://xml.zope.org/namespaces/i18n" |
---|
| 6 | i18n:domain="OpenWorkouts" |
---|
| 7 | metal:use-macro="load: base_anonymous.pt" |
---|
| 8 | tal:attributes="lang request.locale_name"> |
---|
| 9 | |
---|
| 10 | <metal:content metal:fill-slot="content"> |
---|
| 11 | |
---|
| 12 | <div class="verify-account-content"> |
---|
| 13 | |
---|
| 14 | <div class="info"> |
---|
| 15 | |
---|
| 16 | <h1> |
---|
| 17 | <tal:t i18n:translate="">Welcome</tal:t> <tal:user tal:content="user.fullname"></tal:user> |
---|
| 18 | </h1> |
---|
| 19 | |
---|
| 20 | <p> |
---|
| 21 | <tal:t i18n:translate=""> |
---|
| 22 | You have joined the OpenWorkouts community successfully, |
---|
| 23 | now please verify your account. |
---|
| 24 | </tal:t> |
---|
| 25 | </p> |
---|
| 26 | |
---|
| 27 | <p> |
---|
| 28 | <a href="" class="button button-action" |
---|
| 29 | tal:attributes="href verify_link" |
---|
| 30 | i18n:translate="">Verify my account (*)</a> |
---|
| 31 | </p> |
---|
| 32 | |
---|
| 33 | <p> |
---|
| 34 | <tal:t i18n:translate> |
---|
| 35 | Thank you for joining us. |
---|
| 36 | </tal:t> |
---|
| 37 | <tal:t i18n:translate> |
---|
| 38 | Best regards from the OpenWorkouts team. |
---|
| 39 | </tal:t> |
---|
| 40 | </p> |
---|
| 41 | |
---|
| 42 | <p> |
---|
| 43 | <small i18n:translate=""> |
---|
| 44 | (*) If clicking on the button does not work, you can copy this link and paste it on your browser navigation bar: |
---|
| 45 | </small> |
---|
| 46 | </p> |
---|
| 47 | <p> |
---|
| 48 | <small tal:content="verify_link"></small> |
---|
| 49 | </p> |
---|
| 50 | |
---|
| 51 | </div> |
---|
| 52 | |
---|
| 53 | </div> |
---|
| 54 | |
---|
| 55 | </metal:content> |
---|
| 56 | |
---|
| 57 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.