Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
62ee1dc6
Commit
62ee1dc6
authored
Mar 03, 2012
by
Frédéric Buclin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 731586: Email notifications about status changes in blockers are incorrectly formatted
r=dkl a=LpSolit
parent
a3310aa7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
11 deletions
+7
-11
bugmail.html.tmpl
template/en/default/email/bugmail.html.tmpl
+3
-3
bugmail.txt.tmpl
template/en/default/email/bugmail.txt.tmpl
+4
-8
No files found.
template/en/default/email/bugmail.html.tmpl
View file @
62ee1dc6
...
...
@@ -47,10 +47,10 @@
[% BLOCK generate_diffs %]
[% SET in_table = 0 %]
[% last_changer =
""
%]
[% last_changer =
0
%]
[% FOREACH change = diffs %]
[% IF !isnew
&&
change
.who.login
!= last_changer %]
[% last_changer = change
.who.login
%]
[% IF !isnew
&&
change
r.id
!= last_changer %]
[% last_changer = change
r.id
%]
[% IF in_table == 1 %]
</table>
[% SET in_table = 0 %]
...
...
template/en/default/email/bugmail.txt.tmpl
View file @
62ee1dc6
...
...
@@ -35,21 +35,17 @@ You are receiving this mail because:
[% BLOCK generate_diffs %]
[% urlbase %]show_bug.cgi?id=[% bug.id %]
[%+ last_changer =
""
%]
[%+ last_changer =
0
%]
[% FOREACH change = diffs %]
[% IF !isnew && change
.who.login
!= last_changer %]
[% last_changer = change
.who.login
%]
[% IF !isnew && change
r.id
!= last_changer %]
[% last_changer = change
r.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 %]
[%~ IF change.who.name %]
[% change.who.name _ " <" _ change.who.login _ ">" %]
[% ELSE %]
[% change.who.login %]
[% END %] changed:
[%~ changer.identity %] changed:
[% END %]
What |Removed |Added
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment