aboutsummaryrefslogtreecommitdiffstats
path: root/template/en/default/email/bugmail.txt.tmpl
diff options
context:
space:
mode:
authorSimon Green <sgreen@redhat.com>2014-01-03 08:24:16 +1000
committerSimon Green <sgreen@redhat.com>2014-01-03 08:24:16 +1000
commit3af2a748f631ca349daee12f7c3c26a8fb831219 (patch)
tree7f0f5f1a9bd95941be656e79fc529c5b5f90ae13 /template/en/default/email/bugmail.txt.tmpl
parent8c1cdef6abdd4dabc768760f182067402da09145 (diff)
downloadbugs-3af2a748f631ca349daee12f7c3c26a8fb831219.tar
bugs-3af2a748f631ca349daee12f7c3c26a8fb831219.tar.gz
bugs-3af2a748f631ca349daee12f7c3c26a8fb831219.tar.bz2
bugs-3af2a748f631ca349daee12f7c3c26a8fb831219.tar.xz
bugs-3af2a748f631ca349daee12f7c3c26a8fb831219.zip
Bug 946565 - Bug Mail does not correct notify when two people have made changes
r=LpSolit, a=simon
Diffstat (limited to 'template/en/default/email/bugmail.txt.tmpl')
-rw-r--r--template/en/default/email/bugmail.txt.tmpl11
1 files changed, 7 insertions, 4 deletions
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