summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/activity
diff options
context:
space:
mode:
authorDave Lawrence <dkl@redhat.com>2010-02-10 18:55:38 +0100
committerDave Lawrence <dkl@redhat.com>2010-02-10 18:55:38 +0100
commit80477beb472a83f6fa711358372db9edf6209c39 (patch)
treec2bfc902d85f18527462ffff83d4060b335aece1 /template/en/default/bug/activity
parentc6c99bcc594d33553921ca111f05f374330d5d4d (diff)
downloadbugzilla-80477beb472a83f6fa711358372db9edf6209c39.tar.gz
bugzilla-80477beb472a83f6fa711358372db9edf6209c39.tar.xz
Bug 310450 - Bugzilla should send an email when a comment becomes private or un-private
r=mkanat, a=mkanat
Diffstat (limited to 'template/en/default/bug/activity')
-rw-r--r--template/en/default/bug/activity/table.html.tmpl8
1 files changed, 7 insertions, 1 deletions
diff --git a/template/en/default/bug/activity/table.html.tmpl b/template/en/default/bug/activity/table.html.tmpl
index ee276aa20..a8ad5bfa3 100644
--- a/template/en/default/bug/activity/table.html.tmpl
+++ b/template/en/default/bug/activity/table.html.tmpl
@@ -72,7 +72,13 @@
<a href="attachment.cgi?id=[% change.attachid %]">
Attachment #[% change.attachid %]</a>
[% END %]
- [%+ field_descs.${change.fieldname} FILTER html %]
+ [% IF change.comment.defined %]
+ [% comment_desc = field_descs.${change.fieldname} %]
+ [% comment_num = "Comment $change.comment.count" FILTER bug_link(bug.bug_id, comment_num => change.comment.count) %]
+ [% comment_desc.replace('^(Comment )?', "$comment_num ") FILTER none %]
+ [% ELSE %]
+ [%+ field_descs.${change.fieldname} FILTER html %]
+ [% END %]
</td>
<td>
[% IF change.removed.defined %]