Permalink
Browse files

passing contact_email to templates by default

git-svn-id: http://django-notification.googlecode.com/svn/trunk@37 590c3fc9-4838-0410-bb95-17a0c9b37ca9
  • Loading branch information...
1 parent 7edaadd commit 1ab0db1ffc1cb1c32add2302d4271fc9b8e57159 @jezdez jezdez committed May 26, 2008
Showing with 2 additions and 0 deletions.
  1. +1 −0 notification/models.py
  2. +1 −0 notification/templates/notification/notification_body.txt
View
@@ -203,6 +203,7 @@ def send(users, notice_type_label, message_template, object_list=[], issue_notic
message_body = render_to_string("notification/notification_body.txt", {
"message": message_to_text(message),
"notices_url": notices_url,
+ "contact_email": settings.CONTACT_EMAIL,
})
for user in users:
@@ -5,4 +5,5 @@
To see other notices or change how you receive notifications,
please go to {{ notices_url }}
+If you have any issues, please don't hesitate to contact {{ contact_email }}
{% endblocktrans %}

0 comments on commit 1ab0db1

Please sign in to comment.