]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/notifications/newmember.html
SPLUNK-189, adding pngfix for IE6.
[osqa.git] / forum / skins / default / templates / notifications / newmember.html
1 {% load i18n extra_tags email_tags %}
2
3 {% declare %}
4     prefix = html.mark_safe(settings.EMAIL_SUBJECT_PREFIX)
5     app_name = settings.APP_SHORT_NAME
6     safe_app_name = html.mark_safe(settings.APP_SHORT_NAME)
7     app_url = settings.APP_URL
8     newmember_name = newmember.username
9     safe_newmember_name = html.mark_safe(newmember.username)
10     newmember_url = newmember.get_profile_url()
11     newmember_link = html.objlink(newmember, style=settings.EMAIL_ANCHOR_STYLE)
12 {% enddeclare %}
13
14 {% email %}
15     {% subject %}{% blocktrans %}{{ prefix }} {{ safe_newmember_name }} is a new member on {{ safe_app_name }}{% endblocktrans %}{% endsubject %}
16
17     {% htmlcontent notifications/base.html %}
18         <p style="{{ p_style }}">
19             {% blocktrans %}
20             {{ newmember_link }} has just joined {{ app_name }}.
21             View <a style="{{ a_style }}" href="{{ app_url }}{{ newmember_url }}">{{ newmember_name }}'s profile</a>.
22             {% endblocktrans %}
23         </p>
24     {% endhtmlcontent %}
25
26 {% textcontent notifications/base_text.html %}
27 {% blocktrans %}
28 {{ safe_newmember_name }} has just joined {{ safe_app_name }}. You can visit {{ safe_newmember_name }}'s profile using the following url:
29 {{ app_url }}{{ newmember_url }}
30 {% endblocktrans %}
31 {% endtextcontent %}
32
33 {% endemail %}
34