summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/activity/table.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/bug/activity/table.html.tmpl')
-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 2492534..a9aca0a 100644
--- a/template/en/default/bug/activity/table.html.tmpl
+++ b/template/en/default/bug/activity/table.html.tmpl
@@ -73,7 +73,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>
[% PROCESS change_column change_type = change.removed %]
[% PROCESS change_column change_type = change.added %]