comparison 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
comparison
equal deleted inserted replaced
433:6663175b659e 434:ffdeb403ad21
1 {% load url from future %}
1 Dear {{ msg.receiver.username }}, 2 Dear {{ msg.receiver.username }},
2 3
3 You have just received a new private message at {{ site.name }}. The message 4 You have just received a new private message at {{ site.name }}. The message
4 details are as follows: 5 details are as follows:
5 6
10 {{ msg.message|safe }} 11 {{ msg.message|safe }}
11 ----- 12 -----
12 13
13 You may reply to this message by visiting the following link: 14 You may reply to this message by visiting the following link:
14 15
15 http://{{ site.domain }}{{ msg.get_absolute_url }} 16 http://{{ site.domain }}{% url 'messages-index' %}
16 17
17 Thanks, 18 Thanks,
18 19
19 The staff at {{ site.name }}. 20 The staff at {{ site.name }}.
20 http://{{ site.domain }} 21 http://{{ site.domain }}