summaryrefslogtreecommitdiffstats
path: root/dashboard/src
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard/src')
-rw-r--r--dashboard/src/notifier/dispatchers.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/dashboard/src/notifier/dispatchers.py b/dashboard/src/notifier/dispatchers.py
index 64be2a5..c35fe2b 100644
--- a/dashboard/src/notifier/dispatchers.py
+++ b/dashboard/src/notifier/dispatchers.py
@@ -26,9 +26,8 @@ class DispatchHandler():
def email(instance):
if instance.msg_sent != 'no dispatcher by given name exists: sending by email':
instance.msg_sent = 'by email'
- send_mail(instance.title,instance.content +
- '\n\n This message pertains to the following resource: ' +
- instance.resource.name,instance.sender,[instance.user.email_addr], fail_silently=False)
+ send_mail(instance.title,instance.content,
+ instance.sender,[instance.user.email_addr], fail_silently=False)
def webnotification(instance):
- instance.msg_sent='by web notification'
+ instance.msg_sent='by web notification' \ No newline at end of file