diff options
author | Dave Lawrence <dkl@redhat.com> | 2010-02-10 18:55:38 +0100 |
---|---|---|
committer | Dave Lawrence <dkl@redhat.com> | 2010-02-10 18:55:38 +0100 |
commit | 80477beb472a83f6fa711358372db9edf6209c39 (patch) | |
tree | c2bfc902d85f18527462ffff83d4060b335aece1 /template/en/default/bug/activity | |
parent | c6c99bcc594d33553921ca111f05f374330d5d4d (diff) | |
download | bugzilla-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.tmpl | 8 |
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 %] |