diff 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
line wrap: on
line diff
--- a/gpp/templates/messages/notification_email.txt	Fri May 06 02:03:39 2011 +0000
+++ b/gpp/templates/messages/notification_email.txt	Thu May 12 02:56:13 2011 +0000
@@ -1,3 +1,4 @@
+{% load url from future %}
 Dear {{ msg.receiver.username }},
 
 You have just received a new private message at {{ site.name }}. The message
@@ -12,7 +13,7 @@
 
 You may reply to this message by visiting the following link:
 
-http://{{ site.domain }}{{ msg.get_absolute_url }}
+http://{{ site.domain }}{% url 'messages-index' %}
 
 Thanks,