Mercurial > public > sg101
view gpp/templates/messages/notification_email.txt @ 507:8631d32e6b16
Some users are still having problems with the pop-up login. I think they are actually getting 403s because of the CSRF protection. So I have modified the base template to always have a javascript variable called csrf_token available when they aren't logged in. The ajax_login.js script was then modified to send this value with the ajax post. Fingers crossed.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 04 Dec 2011 03:05:21 +0000 |
parents | ffdeb403ad21 |
children |
line wrap: on
line source
{% load url from future %} Dear {{ msg.receiver.username }}, You have just received a new private message at {{ site.name }}. The message details are as follows: ----- From: {{ msg.sender.username }} Subject: {{ msg.subject|safe }} {{ msg.message|safe }} ----- You may reply to this message by visiting the following link: http://{{ site.domain }}{% url 'messages-index' %} Thanks, The staff at {{ site.name }}. http://{{ site.domain }} P.S. You are receiving this email because you have elected to receive notifications of new private messages. To stop receiving these emails, please update your private message options at this link: http://{{ site.domain }}{{ options_url }} This is an automated email, please do not reply to this message.