Mercurial > public > sg101
changeset 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 | 6663175b659e |
children | b2f02766cc72 |
files | gpp/templates/messages/notification_email.txt |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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,