X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/58120aed9b7ba336d9935358f0716e9e0de8b7f0..19fdf3aa4fdc111f4ce142005e75f4e8f961e91e:/forum/skins/default/templates/notifications/newmember.html?ds=sidebyside diff --git a/forum/skins/default/templates/notifications/newmember.html b/forum/skins/default/templates/notifications/newmember.html index 67fba1f..8efbe72 100644 --- a/forum/skins/default/templates/notifications/newmember.html +++ b/forum/skins/default/templates/notifications/newmember.html @@ -1,29 +1,31 @@ {% load i18n extra_tags email_tags %} {% declare %} - prefix = settings.EMAIL_SUBJECT_PREFIX + prefix = html.mark_safe(settings.EMAIL_SUBJECT_PREFIX) app_name = settings.APP_SHORT_NAME + safe_app_name = html.mark_safe(settings.APP_SHORT_NAME) app_url = settings.APP_URL newmember_name = newmember.username + safe_newmember_name = html.mark_safe(newmember.username) newmember_url = newmember.get_profile_url() newmember_link = html.objlink(newmember, style=settings.EMAIL_ANCHOR_STYLE) {% enddeclare %} {% email %} - {% subject %}{% blocktrans %}{{ prefix }}{{ newmember_name }} is a new member on {{ app_name }}{% endblocktrans %}{% endsubject %} + {% subject %}{% blocktrans %}{{ prefix }} {{ safe_newmember_name }} is a new member on {{ safe_app_name }}{% endblocktrans %}{% endsubject %} {% htmlcontent notifications/base.html %}
{% blocktrans %}
- {{ newmember_link }} has just joined {{ app_name }}. You can visit {{ newmember_name }}'s profile using the following link:
- {{ newmember_name }} profile
+ {{ newmember_link }} has just joined {{ app_name }}.
+ View {{ newmember_name }}'s profile.
{% endblocktrans %}