annotate gpp/templates/messages/notification_email.txt @ 434:ffdeb403ad21

For #211; update the URL in the private messages notification email. Messages no longer have a get_absolute_url() method. Just send people to the main messages index.
author Brian Neal <bgneal@gmail.com>
date Thu, 12 May 2011 02:56:13 +0000
parents accfc1fdb88d
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.