summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/ContributorEngagement/Extension.pm6
-rw-r--r--extensions/ContributorEngagement/template/en/default/contributor/email.txt.tmpl4
2 files changed, 6 insertions, 4 deletions
diff --git a/extensions/ContributorEngagement/Extension.pm b/extensions/ContributorEngagement/Extension.pm
index 64fcb9273..0e86eb4ca 100644
--- a/extensions/ContributorEngagement/Extension.pm
+++ b/extensions/ContributorEngagement/Extension.pm
@@ -105,9 +105,9 @@ sub _send_mail {
my ($attachment, $timestamp) = @_;
my $vars = {
- date => format_time($timestamp, '%a, %d %b %Y %T %z', 'UTC'),
- to_user => $attachment->attacher->email,
- from_user => EMAIL_FROM,
+ date => format_time($timestamp, '%a, %d %b %Y %T %z', 'UTC'),
+ attachment => $attachment,
+ from_user => EMAIL_FROM,
};
my $msg;
diff --git a/extensions/ContributorEngagement/template/en/default/contributor/email.txt.tmpl b/extensions/ContributorEngagement/template/en/default/contributor/email.txt.tmpl
index d4601542d..915ebd912 100644
--- a/extensions/ContributorEngagement/template/en/default/contributor/email.txt.tmpl
+++ b/extensions/ContributorEngagement/template/en/default/contributor/email.txt.tmpl
@@ -7,7 +7,7 @@
#%]
[% PROCESS "global/variables.none.tmpl" %]
From: [% from_user FILTER none %]
-To: [% to_user FILTER none %]
+To: [% attachment.attacher.email FILTER none %]
Subject: Congratulations on having your first patch approved
Date: [% date FILTER none %]
X-Bugzilla-Type: contributor-engagement
@@ -15,6 +15,8 @@ X-Bugzilla-Type: contributor-engagement
Congratulations on having your first patch approved, and thank you for your
contribution to Mozilla.
+[%+ urlbase %]attachment.cgi?id=[% attachment.id FILTER uri %]&action=edit
+
The next step is to get the patch actually checked in to our repository. For
more information about how to make that happen, check out this post: