annotate gpp/templates/messages/notification_email.txt @ 505:a5d11471d031

Refactor the logic in the rate limiter decorator. Check to see if the request was ajax, as the ajax view always returns 200. Have to decode the JSON response to see if an error occurred or not.
author Brian Neal <bgneal@gmail.com>
date Sat, 03 Dec 2011 19:13:38 +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.