From efcc2fd4054a918c6c446b096c42f235876ba584 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89lie=20Bouttier?= Date: Sun, 17 Aug 2014 00:56:47 -0700 Subject: [PATCH] mail notification subject: use display_name --- issue/notifications.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/issue/notifications.py b/issue/notifications.py index 4cd92c0..095e8a1 100644 --- a/issue/notifications.py +++ b/issue/notifications.py @@ -17,7 +17,7 @@ def notify_new_issue(issue): else: return - subject = "[PonyTracker] New issue: %s (%s)" %(issue.title, project.name) + subject = "[PonyTracker] New issue: %s (%s)" %(issue.title, project) data = [] @@ -60,7 +60,7 @@ def notify_new_comment(event): else: return - subject = "[PonyTracker] New comment - %s (%s)" %(issue.title, project.name) + subject = "[PonyTracker] New comment - %s (%s)" %(issue.title, project) data = []