Commit 60bed125 authored by Guy Pyrzak's avatar Guy Pyrzak

Bug 684946 - The word "Version is hard coded; not all pages use field_descs.version

parent c11aacea
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
</div> </div>
[% END %] [% END %]
</p> </p>
<hr>
<span>You are receiving this mail because:</span> <span>You are receiving this mail because:</span>
<ul> <ul>
...@@ -58,40 +58,41 @@ ...@@ -58,40 +58,41 @@
</html> </html>
[% BLOCK generate_diffs %] [% BLOCK generate_diffs %]
[% SET in_table = 0 %]
[% "${terms.Bug} ${bug.id}" FILTER bug_link(bug, full_url => 1) FILTER none %]
[% last_changer = "" %] [% last_changer = "" %]
<table border="1" cellspacing="0" cellpadding="2">
[% FOREACH change = diffs %] [% FOREACH change = diffs %]
[% IF !isnew && change.who.login != last_changer %] [% IF !isnew && change.who.login != last_changer %]
[% last_changer = change.who.login %] [% last_changer = change.who.login %]
[% IF in_table == 1 %]
[% in_table %]</table>
[% SET in_table = 0 %]
[% END %]
[% IF change.blocker %] [% IF change.blocker %]
<tr>
<td colspan="3">
[% "${terms.Bug} ${bug.id}" FILTER bug_link(bug, full_url => 1) FILTER none %] depends [% "${terms.Bug} ${bug.id}" FILTER bug_link(bug, full_url => 1) FILTER none %] depends
on [% "${terms.bug} ${change.blocker.id}" on [% "${terms.bug} ${change.blocker.id}"
FILTER bug_link(change.blocker, full_url => 1) FILTER none %], FILTER bug_link(change.blocker, full_url => 1) FILTER none %],
which changed state. which changed state.
</td>
</tr>
[% ELSE %] [% ELSE %]
<tr>
<td colspan="3">
[% INCLUDE global/user.html.tmpl who = change.who %] [% INCLUDE global/user.html.tmpl who = change.who %]
changed: changed [% "${terms.Bug} ${bug.id}" FILTER bug_link(bug, full_url => 1) FILTER none %]
</td>
</tr>
[% END %] [% END %]
<tr> <br>
<th>What</th> [% IF in_table == 0 %]
<th>Removed</th> <table border="1" cellspacing="0" cellpadding="8">
<th>Added</th> [% SET in_table = 1 %]
</tr> [% END %]
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
[% END %] [% END %]
[% PROCESS "email/bugmail-common.txt.tmpl" %] [% 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 %] [% IF isnew %]
<tr> <tr>
<th>[% field_label FILTER html %]</th> <th>[% field_label FILTER html %]</th>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment