summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/activity
diff options
context:
space:
mode:
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 %]