From c8db0764abb2c5f8b361074e0779c1ab42e2786f Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 11 Oct 2011 13:56:05 +0800 Subject: Bug 693526: show the comment number in inline history when toggling isprivate --- .../template/en/default/hook/bug/comments-aftercomments.html.tmpl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'extensions/InlineHistory/template') 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 += '' + + 'Comment [% change.comment.count FILTER js %] is private: '; + [% ELSE %] + html += '[% field_descs.${change.fieldname} FILTER js %]: '; + [% END %] [% IF change.removed != '' %] [% IF change.added == '' %] html += ''; -- cgit v1.2.3-24-g4f1b