]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/notifications/base.html
OSQA-662. Send the CSRF token with the AJAX post requests.
[osqa.git] / forum / skins / default / templates / notifications / base.html
index cd7e69c236db1f750d8260a3be99fc5a8abdd997..18ac9db273633cf12e2321ec8de644d366ca76ac 100644 (file)
@@ -1,14 +1,15 @@
 {% load extra_filters extra_tags i18n email_tags %}
 
 {% declare %}
-    p_style = settings.EMAIL_PARAGRAPH_STYLE
-    a_style = settings.EMAIL_ANCHOR_STYLE
+    p_style = smart_str(settings.EMAIL_PARAGRAPH_STYLE)
+    a_style = smart_str(settings.EMAIL_ANCHOR_STYLE)
     hr_style = "color:#ccc;border:0;height:1px;background-color:#ccc;margin-bottom:20px;"
     small_style = "color:#333333;font-family:'Lucida Grande', Trebuchet, Helvetica, sans-serif;font-size:12px;"
     table_style = "border:20px %s solid;margin:10px auto 10px auto;width:750px;text-align:left;" % settings.EMAIL_BORDER_COLOR
 {% enddeclare %}
 <html>
 <head>
+<base href="{{ settings.APP_URL }}">
 </head>
 <body style="margin:0;">
 <center>
@@ -31,4 +32,4 @@
 </td></tr></tbody></table>
 </center>
 </body>
-</html>
\ No newline at end of file
+</html>