annotate 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
rev   line source
bgneal@434 1 {% load url from future %}
gremmie@1 2 Dear {{ msg.receiver.username }},
gremmie@1 3
gremmie@1 4 You have just received a new private message at {{ site.name }}. The message
gremmie@1 5 details are as follows:
gremmie@1 6
bgneal@299 7 -----
gremmie@1 8 From: {{ msg.sender.username }}
bgneal@397 9 Subject: {{ msg.subject|safe }}
gremmie@1 10
bgneal@397 11 {{ msg.message|safe }}
bgneal@299 12 -----
bgneal@299 13
bgneal@299 14 You may reply to this message by visiting the following link:
gremmie@1 15
bgneal@434 16 http://{{ site.domain }}{% url 'messages-index' %}
gremmie@1 17
gremmie@1 18 Thanks,
gremmie@1 19
gremmie@1 20 The staff at {{ site.name }}.
gremmie@1 21 http://{{ site.domain }}
gremmie@1 22
gremmie@1 23 P.S.
gremmie@1 24 You are receiving this email because you have elected to receive
gremmie@1 25 notifications of new private messages. To stop receiving these emails,
gremmie@1 26 please update your private message options at this link:
gremmie@1 27
gremmie@1 28 http://{{ site.domain }}{{ options_url }}
gremmie@1 29
bgneal@299 30 This is an automated email, please do not reply to this message.