diff options
Diffstat (limited to 'engines/support/app/views/tickets/_comment.html.haml')
-rw-r--r-- | engines/support/app/views/tickets/_comment.html.haml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/support/app/views/tickets/_comment.html.haml b/engines/support/app/views/tickets/_comment.html.haml index 778ca13..65ec394 100644 --- a/engines/support/app/views/tickets/_comment.html.haml +++ b/engines/support/app/views/tickets/_comment.html.haml @@ -1,4 +1,5 @@ -- if admin? or !comment.private # only show comment if user is admin or comment is not private +- # only show comment if user is admin or comment is not private +- if admin? or !comment.private %tr %td.user %div @@ -17,4 +18,4 @@ %span.label.label-important = t(:private) %td.comment - = simple_format(comment.body)
\ No newline at end of file + = simple_format(comment.body) |