From f539ec23d8c72847ca1fbe2c85295cf4d38360b1 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Mon, 8 Aug 2011 18:13:18 +0200 Subject: Bug 677081: Private comments should remain visible by their author r=glob a=LpSolit --- template/en/default/bug/comments.html.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template/en/default/bug/comments.html.tmpl') diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl index 208ea092a..cbd1d0b83 100644 --- a/template/en/default/bug/comments.html.tmpl +++ b/template/en/default/bug/comments.html.tmpl @@ -101,7 +101,7 @@ [%############################################################################%] [% BLOCK a_comment %] - [% RETURN IF comment.is_private AND ! user.is_insider %] + [% RETURN IF comment.is_private AND NOT (user.is_insider || user.id == comment.author.id) %] [% comment_text = comment.body_full %] [% RETURN IF comment_text == '' AND (comment.work_time - 0) != 0 AND !user.is_timetracker %] -- cgit v1.2.3-24-g4f1b