summaryrefslogtreecommitdiffstats
path: root/extensions/InlineHistory/template/en
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2011-10-11 07:56:05 +0200
committerByron Jones <bjones@mozilla.com>2011-10-11 07:56:05 +0200
commitc8db0764abb2c5f8b361074e0779c1ab42e2786f (patch)
tree324c4dc296fc2ff647ed1a75504faae028b6ee85 /extensions/InlineHistory/template/en
parenta11d9df1d1cd61bdef5564caba3d71e8969bfa85 (diff)
downloadbugzilla-c8db0764abb2c5f8b361074e0779c1ab42e2786f.tar.gz
bugzilla-c8db0764abb2c5f8b361074e0779c1ab42e2786f.tar.xz
Bug 693526: show the comment number in inline history when toggling isprivate
Diffstat (limited to 'extensions/InlineHistory/template/en')
-rw-r--r--extensions/InlineHistory/template/en/default/hook/bug/comments-aftercomments.html.tmpl7
1 files changed, 6 insertions, 1 deletions
diff --git a/extensions/InlineHistory/template/en/default/hook/bug/comments-aftercomments.html.tmpl b/extensions/InlineHistory/template/en/default/hook/bug/comments-aftercomments.html.tmpl
index 68c3e2703..454cb578b 100644
--- a/extensions/InlineHistory/template/en/default/hook/bug/comments-aftercomments.html.tmpl
+++ b/extensions/InlineHistory/template/en/default/hook/bug/comments-aftercomments.html.tmpl
@@ -82,7 +82,12 @@
[% PROCESS add_change value = change.removed %]
[% END %]
[% ELSE %]
- html += '[% field_descs.${change.fieldname} FILTER js %]: ';
+ [% IF change.fieldname == 'longdescs.isprivate' %]
+ html += '<a href="#c[% change.comment.count FILTER js %]">'
+ + 'Comment [% change.comment.count FILTER js %]</a> is private: ';
+ [% ELSE %]
+ html += '[% field_descs.${change.fieldname} FILTER js %]: ';
+ [% END %]
[% IF change.removed != '' %]
[% IF change.added == '' %]
html += '<span class="ih_deleted">';