summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorSimon Green <sgreen@redhat.com>2014-01-02 23:24:16 +0100
committerSimon Green <sgreen@redhat.com>2014-01-02 23:24:16 +0100
commit3af2a748f631ca349daee12f7c3c26a8fb831219 (patch)
tree7f0f5f1a9bd95941be656e79fc529c5b5f90ae13 /template
parent8c1cdef6abdd4dabc768760f182067402da09145 (diff)
downloadbugzilla-3af2a748f631ca349daee12f7c3c26a8fb831219.tar.gz
bugzilla-3af2a748f631ca349daee12f7c3c26a8fb831219.tar.xz
Bug 946565 - Bug Mail does not correct notify when two people have made changes
r=LpSolit, a=simon
Diffstat (limited to 'template')
-rw-r--r--template/en/default/email/bugmail.html.tmpl4
-rw-r--r--template/en/default/email/bugmail.txt.tmpl11
2 files changed, 9 insertions, 6 deletions
diff --git a/template/en/default/email/bugmail.html.tmpl b/template/en/default/email/bugmail.html.tmpl
index a5fc25ee3..1a604b3b1 100644
--- a/template/en/default/email/bugmail.html.tmpl
+++ b/template/en/default/email/bugmail.html.tmpl
@@ -68,8 +68,8 @@
[% SET in_table = 0 %]
[% last_changer = 0 %]
[% FOREACH change = diffs %]
- [% IF !isnew && changer.id != last_changer %]
- [% last_changer = changer.id %]
+ [% IF !isnew && change.who.id != last_changer %]
+ [% last_changer = change.who.id %]
[% IF in_table == 1 %]
</table>
[% SET in_table = 0 %]
diff --git a/template/en/default/email/bugmail.txt.tmpl b/template/en/default/email/bugmail.txt.tmpl
index b8d11e0e1..95cda7f10 100644
--- a/template/en/default/email/bugmail.txt.tmpl
+++ b/template/en/default/email/bugmail.txt.tmpl
@@ -45,18 +45,21 @@ You are receiving this mail because:
[% BLOCK generate_diffs %]
[% urlbase %]show_bug.cgi?id=[% bug.id %]
-
[%+ last_changer = 0 %]
+[% IF isnew %]
+[%+ +%]
+[% END %]
[% FOREACH change = diffs %]
- [% IF !isnew && changer.id != last_changer %]
- [% last_changer = changer.id %]
+ [% IF !isnew && change.who.id != last_changer %]
+ [% last_changer = change.who.id %]
[% IF change.blocker %]
[% terms.Bug %] [%+ bug.id %] depends on [% terms.bug %] [%+ change.blocker.id %], which changed state.
[%+ terms.Bug %] [%+ change.blocker.id %] Summary: [% change.blocker.short_desc %]
[%+ urlbase %]show_bug.cgi?id=[% change.blocker.id %]
[% ELSE %]
- [%~ changer.identity %] changed:
+
+[% change.who.identity %] changed:
[% END %]
What |Removed |Added