1 {% load i18n extra_tags email_tags %}
4 prefix = settings.EMAIL_SUBJECT_PREFIX
5 app_name = settings.APP_SHORT_NAME
7 exclude_greeting = True
8 exclude_finetune = True
12 {% subject %}{% blocktrans %}{{ prefix }} Welcome to {{ app_name }}{% endblocktrans %}{% endsubject %}
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 %},
19 <p style="{{ p_style }}}">{% trans "Here's your login info (store it in a cool dry place):" %}</p>
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>
24 <p style="{{ p_style }}}">{% trans "The following link will help us verify your email address:" %}</p>
26 <p style="{{ p_style }}}"><a style="{{ a_style }}}" href="{% fullurl auth_validate_email user=recipient.id,code=validation_code %}">{% trans "Validate my email address" %}</a></p>
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>
30 <p style="{{ p_style }}">{% fullurl auth_validate_email user=recipient.id,code=validation_code %}</p>
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):" %}
37 {% trans "Username: " %} {{ recipient.username }}
38 {% trans "Password: As IF we would send your password in cleartext!" %}
40 {% trans "Copy and paste this url into your web browser's address bar to help us verify your email address:" %}
42 {% fullurl auth_validate_email user=recipient.id,code=validation_code %}