Merge "Fix Missing Static Assets"
[pharos-tools.git] / dashboard / src / notifier / dispatchers.py
index 64be2a5..1b66b37 100644 (file)
@@ -1,5 +1,5 @@
 ##############################################################################
-# Copyright (c) 2016 Max Breitenfeldt and others.
+# Copyright (c) 2018 Sawyer Bergeron, Parker Berberian, and others.
 #
 # All rights reserved. This program and the accompanying materials
 # are made available under the terms of the Apache License, Version 2.0
@@ -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'