1 {% load i18n extra_tags email_tags %}
4 prefix = settings.EMAIL_SUBJECT_PREFIX
5 app_name = settings.APP_SHORT_NAME
6 app_url = settings.APP_URL
7 newmember_name = newmember.username
8 newmember_url = newmember.get_profile_url()
9 newmember_link = html.objlink(newmember, style=settings.EMAIL_ANCHOR_STYLE)
13 {% subject %}{% blocktrans %}{{ prefix }}{{ newmember_name }} is a new member on {{ app_name }}{% endblocktrans %}{% endsubject %}
15 {% htmlcontent notifications/base.html %}
16 <p style="{{ p_style }}">
18 {{ newmember_link }} has just joined {{ app_name }}. You can visit {{ newmember_name }}'s profile using the following link: <br />
19 <a href="{{ app_url }}{{ newmember_url }}">{{ newmember_name }} profile</a>
24 {% textcontent notifications/base_text.html %}
26 {{ newmember_name }} has just joined {{ app_name }}. You can visit {{ newmember_name }}'s profile using the following url: <br />
27 {{ app_url }}{{ newmember_url }}