Skip to content

Commit

Permalink
send email on a new message
Browse files Browse the repository at this point in the history
  • Loading branch information
baffolobill committed Mar 29, 2012
1 parent e58c982 commit 5f488d7
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{{ message.sender.username }} sent you a {% if message.parent_msg %}reply{% else %}message{% endif %} on {{ site_name }}:
{{ message.sender_name }} sent you a {% if message.parent_msg %}reply{% else %}message{% endif %} on {{ site_name }}:

Participants: {% for p in message.thread.all.0.participants.all %}{{ p.user.profile.name }}{% if not forloop.last %}, {% endif %}{% endfor %}

Participants: {% for p in message.thread.all.0.participants.all %}{{ p.user.username }}{% if not forloop.last %}, {% endif %}{% endfor %}
Subject: {% if message.parent_msg %}RE {% endif %}{{ message.thread.all.0.subject }}
--
{{ message.body }}
--
Reply: {{ site_url }}{% url messages_detail message.thread.all.0.id %}
Inbox: {{ site_url }}{% url messages_inbox %}

Sent by {{ site_url }} at {% now "Y-m-d HH:MM" %}
Sent by {{ site_url }} at {% now "Y-m-d HH:MM" %}

0 comments on commit 5f488d7

Please sign in to comment.