From 6bdfec1c730c9d5afa9e1c4189f6f37f6251f730 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 27 Jul 2006 04:03:59 +0000 Subject: [PATCH] r976: Including a link to the actual bug and the summary --- includes/class_notification.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/includes/class_notification.php b/includes/class_notification.php index 7eaf5bb..b883180 100644 --- a/includes/class_notification.php +++ b/includes/class_notification.php @@ -555,7 +555,7 @@ Initial report: */ function finalize() { - $this->registry->mail->set('subject', sprintf($this->registry->lang->string('%1$s Bug Notification'), $this->registry->options['trackertitle'])); + $this->registry->mail->set('subject', sprintf($this->registry->lang->string('%1$s Bug Notification - %2$s'), $this->registry->options['trackertitle'], $this->bug['summary'])); foreach ($this->notices AS $userid => $noticelist) { if ($userid == $this->registry->userinfo['userid']) @@ -566,7 +566,11 @@ Initial report: $this->registry->mail->to_add($this->users["$userid"]['displayname'], $this->users["$userid"]['email']); $this->registry->mail->set('bodytext', sprintf($this->registry->lang->string('Hi %1$s, -You are receiving this email because you have opted to get notifications for the %2$s bug tracker. Here are the notices: +You are receiving this email because you have opted to get notifications for the %2$s bug tracker. + +The bug is "%5$s" (id: %6$s) located at %4$s/showreport.php?bugid=%6$s + +Here are the notices: ################################################################### %3$s @@ -578,7 +582,9 @@ If you no longer want to receive email from us, please log into your account and $this->users["$userid"]['displayname'], $this->registry->options['trackertitle'], implode("\n\n", $noticelist), - $this->registry->options['trackerurl'] + $this->registry->options['trackerurl'], + $this->bug['summary'], + $this->bug['bugid'] )); $this->registry->mail->send(true); } -- 2.22.5