]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/notifications/newmember.html
Converts all instant notifications to the new style emails.
[osqa.git] / forum / skins / default / templates / notifications / newmember.html
1 {% load i18n extra_tags email_tags %}\r
2 \r
3 {% declare %}\r
4     prefix = settings.EMAIL_SUBJECT_PREFIX\r
5     app_name = settings.APP_SHORT_NAME\r
6     app_url = settings.APP_URL\r
7     newmember_name = newmember.username\r
8     newmember_url = newmember.get_profile_url\r
9 {% enddeclare %}\r
10 \r
11 {% email %}\r
12     {% subject %}{% blocktrans %}{{ newmember_name }} is a new member on {{ app_name }}{% endblocktrans %}{% endsubject %}\r
13 \r
14     {% htmlcontent notifications/base.html %}\r
15         <p style="{{ p_style }}">\r
16             {% blocktrans %}\r
17             {{ newmember_name }} has just joined {{ app_name }}. You can visit {{ newmember_name }}'s profile using the following link: <br />\r
18             <a href="{{ app_url }}{{ newmember_url }}">{{ newmember_name }} profile</a>\r
19             {% endblocktrans %}\r
20         </p>\r
21     {% endhtmlcontent %}\r
22 \r
23     {% textcontent notifications/base_text.html %}\r
24         {% blocktrans %}\r
25         {{ newmember_name }} has just joined {{ app_name }}. You can visit {{ newmember_name }}'s profile using the following url: <br />\r
26             {{ app_url }}{{ newmember_url }}\r
27         {% endblocktrans %}\r
28     {% endtextcontent %}\r
29 \r
30 {% endemail %}\r
31 \r