]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/auth/email_validation.html
Converts the welcome message to the new mail system and makes some changes to the...
[osqa.git] / forum / skins / default / templates / auth / email_validation.html
1 {% load i18n extra_tags email_tags %}
2
3 {% declare %}
4     prefix = settings.EMAIL_SUBJECT_PREFIX
5     app_name = settings.APP_SHORT_NAME
6
7     exclude_greeting = True
8     exclude_finetune = True
9 {% enddeclare %}
10
11 {% email %}
12     {% subject %}{% blocktrans %}{{ prefix }} Welcome to {{ app_name }}{% endblocktrans %}{% endsubject %}
13
14     {% htmlcontent notifications/base.html %}
15         <p style="{{ p_style }}}">
16             {% blocktrans %}Howdy and welcome to {{ app_name }}. We know you're busy, so we'll keep this real simple.{% endblocktrans %} %},
17         </p>
18
19         <p style="{{ p_style }}}">{% trans "Here's your login info (store it in a cool dry place):" %}</p>
20
21         <p style="{{ p_style }}}">{% trans "Username: " %} {{ recipient.username }}<br />
22         <b>{% trans "Password: As IF we would send your password in cleartext!" %}</b></p>
23
24         <p style="{{ p_style }}}">{% trans "The following link will help us verify your email address:" %}</p>
25
26         <a  style="{{ a_style }}}" href="{% fullurl auth_validate_email user=recipient.id,code=validation_code %}">{% trans "Validate my email address" %}</a>
27
28         <p style="{{ p_style }}}">{% trans "If the above link is not clickable, copy and paste this url into your web browser's address bar:" %}</p>
29
30         <p style="{{ p_style }}">{% fullurl auth_validate_email user=recipient.id,code=validation_code %}</p>
31     {% endhtmlcontent %}
32
33 {% textcontent notifications/base_text.html %}
34 {% blocktrans %}Howdy and welcome to {{ app_name }}. We know you're busy, so we'll keep this real simple.{% endblocktrans %} %},
35 {% trans "Here's your login info (store it in a cool dry place):" %}
36
37 {% trans "Username: " %} {{ recipient.username }}
38 {% trans "Password: As IF we would send your password in cleartext!" %}
39
40 {% trans "Copy and paste this url into your web browser's address bar to help us verify your email address:" %}
41
42 {% fullurl auth_validate_email user=recipient.id,code=validation_code %}
43 {% endtextcontent %}
44
45 {% endemail %}
46