From 2b7728594a059c0fac1edf63799e62cfc0a82c7a Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Sat, 21 Aug 2010 12:21:22 +0200 Subject: Bug 584115: Some comments incorrectly disappear for users not in the timetracking group r/a=mkanat --- template/en/default/bug/comments.html.tmpl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (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 af6cc2191..e44e4e7b9 100644 --- a/template/en/default/bug/comments.html.tmpl +++ b/template/en/default/bug/comments.html.tmpl @@ -89,7 +89,8 @@ [% BLOCK a_comment %] [% RETURN IF comment.is_private AND ! user.is_insider %] - [% RETURN IF comment.body == '' AND comment.work_time != 0 AND !user.is_timetracker %] + [% comment_text = comment.body_full({ wrap => 1 }) %] + [% RETURN IF comment_text == '' AND (comment.work_time - 0) != 0 AND !user.is_timetracker %]
- [%- comment.body_full({ wrap => 1 }) FILTER quoteUrls(bug, comment) -%] + [%- comment_text FILTER quoteUrls(bug, comment) -%]
[% END %] -- cgit v1.2.3-24-g4f1b