]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 697371 - link to comment in emails looks like it is part of the comment
authorDave Lawrence <dlawrence@mozilla.com>
Wed, 16 Nov 2011 19:36:20 +0000 (14:36 -0500)
committerDave Lawrence <dlawrence@mozilla.com>
Wed, 16 Nov 2011 19:36:20 +0000 (14:36 -0500)
r=glob, a=LpSolit

template/en/default/email/bugmail.txt.tmpl

index c401a2923cb7cf9f84879f461e68574889e63969..65010112bc4a2a67ff1d10876544fdfe8d4c707c 100644 (file)
@@ -31,7 +31,6 @@
 
 [%- IF comment.count %]
 --- Comment #[% comment.count %] from [% comment.author.identity %] ---
-[%+ urlbase %]show_bug.cgi?id=[% bug.id %]#c[% comment.count %]
 [% END %]
 [%+ comment.body_full({ is_bugmail => 1, wrap => 1 }) %]
 [% END %]
@@ -49,7 +48,7 @@ You are receiving this mail because:
 [%+ reason_lines.join("\n") %]
 
 [% BLOCK generate_diffs %]
-  [% urlbase %]show_bug.cgi?id=[% bug.id %]
+  [% urlbase %]show_bug.cgi?id=[% bug.id %][% "#c" _ new_comments.first.count IF new_comments.size > 0 %]
 
 [%+ last_changer = "" %]
   [% FOREACH change = diffs %]