summaryrefslogtreecommitdiffstats
path: root/template/en/default/email
diff options
context:
space:
mode:
authorGuy Pyrzak <guy.pyrzak@gmail.com>2011-09-07 07:28:14 +0200
committerGuy Pyrzak <guy.pyrzak@gmail.com>2011-09-07 07:28:14 +0200
commit60bed125a5b452d25d342e2e0b0623354b9867b0 (patch)
treefd3ec30a1e59ebab5db239c15368889ad1f3c27f /template/en/default/email
parentc11aacea6a5da8f9c891d169e164ffbf76724aee (diff)
downloadbugzilla-60bed125a5b452d25d342e2e0b0623354b9867b0.tar.gz
bugzilla-60bed125a5b452d25d342e2e0b0623354b9867b0.tar.xz
Bug 684946 - The word "Version is hard coded; not all pages use field_descs.version
r=mkanat, a=mkanat https://bugzilla.mozilla.org/show_bug.cgi?id=604237
Diffstat (limited to 'template/en/default/email')
-rw-r--r--template/en/default/email/bugmail.html.tmpl41
1 files changed, 21 insertions, 20 deletions
diff --git a/template/en/default/email/bugmail.html.tmpl b/template/en/default/email/bugmail.html.tmpl
index 5e81efa6a..e89bff25a 100644
--- a/template/en/default/email/bugmail.html.tmpl
+++ b/template/en/default/email/bugmail.html.tmpl
@@ -39,7 +39,7 @@
</div>
[% END %]
</p>
-
+ <hr>
<span>You are receiving this mail because:</span>
<ul>
@@ -58,40 +58,41 @@
</html>
[% BLOCK generate_diffs %]
-
- [% "${terms.Bug} ${bug.id}" FILTER bug_link(bug, full_url => 1) FILTER none %]
-
+ [% SET in_table = 0 %]
[% last_changer = "" %]
- <table border="1" cellspacing="0" cellpadding="2">
[% FOREACH change = diffs %]
[% IF !isnew && change.who.login != last_changer %]
[% last_changer = change.who.login %]
+ [% IF in_table == 1 %]
+ [% in_table %]</table>
+ [% SET in_table = 0 %]
+ [% END %]
[% IF change.blocker %]
- <tr>
- <td colspan="3">
[% "${terms.Bug} ${bug.id}" FILTER bug_link(bug, full_url => 1) FILTER none %] depends
on [% "${terms.bug} ${change.blocker.id}"
FILTER bug_link(change.blocker, full_url => 1) FILTER none %],
which changed state.
- </td>
- </tr>
[% ELSE %]
- <tr>
- <td colspan="3">
[% INCLUDE global/user.html.tmpl who = change.who %]
- changed:
- </td>
- </tr>
+ changed [% "${terms.Bug} ${bug.id}" FILTER bug_link(bug, full_url => 1) FILTER none %]
[% END %]
- <tr>
- <th>What</th>
- <th>Removed</th>
- <th>Added</th>
- </tr>
+ <br>
+ [% IF in_table == 0 %]
+ <table border="1" cellspacing="0" cellpadding="8">
+ [% SET in_table = 1 %]
+ [% END %]
+ <tr>
+ <th>What</th>
+ <th>Removed</th>
+ <th>Added</th>
+ </tr>
[% END %]
[% PROCESS "email/bugmail-common.txt.tmpl" %]
-
+ [% IF in_table == 0 %]
+ <table border="1" cellspacing="0" cellpadding="8">[% in_table%]
+ [% SET in_table = 1 %]
+ [% END %]
[% IF isnew %]
<tr>
<th>[% field_label FILTER html %]</th>