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()
12 {% subject %}{% blocktrans %}{{ prefix }}{{ newmember_name }} is a new member on {{ app_name }}{% endblocktrans %}{% endsubject %}
14 {% htmlcontent notifications/base.html %}
16 newmember_link = html.objlink(newmember, style=a_style)
18 <p style="{{ p_style }}">
20 {{ newmember_link }} has just joined {{ app_name }}. You can visit {{ newmember_name }}'s profile using the following link: <br />
21 <a href="{{ app_url }}{{ newmember_url }}">{{ newmember_name }} profile</a>
26 {% textcontent notifications/base_text.html %}
28 {{ newmember_name }} has just joined {{ app_name }}. You can visit {{ newmember_name }}'s profile using the following url: <br />
29 {{ app_url }}{{ newmember_url }}