view gpp/templates/messages/notification_email.txt @ 515:ae89ba801e8b

For #194, convert the POTD management command to a celery task. Refactored to put the logic for the command into a function, and the command simply calls this function. The task can also just call this function. Added some basic tests for the new function.
author Brian Neal <bgneal@gmail.com>
date Wed, 14 Dec 2011 02:41:15 +0000
parents ffdeb403ad21
children
line wrap: on
line source
{% load url from future %}
Dear {{ msg.receiver.username }},

You have just received a new private message at {{ site.name }}. The message
details are as follows:

-----
From: {{ msg.sender.username }}
Subject: {{ msg.subject|safe }}

{{ msg.message|safe }}
-----

You may reply to this message by visiting the following link:

http://{{ site.domain }}{% url 'messages-index' %}

Thanks,

The staff at {{ site.name }}.
http://{{ site.domain }}

P.S.
You are receiving this email because you have elected to receive 
notifications of new private messages. To stop receiving these emails,
please update your private message options at this link:

http://{{ site.domain }}{{ options_url }}

This is an automated email, please do not reply to this message.