]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/notifications/newmember.html
OSQA-600, notification templates unicode fixes.
[osqa.git] / forum / skins / default / templates / notifications / newmember.html
index 8efbe7281e960a2d408b3cf22821b7a9df4c5a9a..5de2f294319bc744e452c8229ea88e7c03e271f5 100644 (file)
@@ -1,14 +1,14 @@
 {% load i18n extra_tags email_tags %}
 
 {% declare %}
-    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)
+    prefix = html.mark_safe(smart_str(settings.EMAIL_SUBJECT_PREFIX))
+    app_name = smart_str(settings.APP_SHORT_NAME)
+    safe_app_name = html.mark_safe(smart_str(settings.APP_SHORT_NAME))
+    app_url = smart_str(settings.APP_URL)
+    newmember_name = smart_str(newmember.username)
+    safe_newmember_name = html.mark_safe(smart_str(newmember.username))
+    newmember_url = smart_str(newmember.get_profile_url())
+    newmember_link = html.objlink(smart_str(newmember), style=settings.EMAIL_ANCHOR_STYLE)
 {% enddeclare %}
 
 {% email %}