about summary refs log tree commit diff
path: root/app/views/admin/reports
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/reports')
-rw-r--r--app/views/admin/reports/show.html.haml5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/admin/reports/show.html.haml b/app/views/admin/reports/show.html.haml
index 1143c2c2e..ecbb98482 100644
--- a/app/views/admin/reports/show.html.haml
+++ b/app/views/admin/reports/show.html.haml
@@ -12,10 +12,7 @@
 %p
   %strong= t('reports.comment.label')
   \:
-  - if @report.comment.blank?
-    = t('reports.comment.none')
-  - else
-    = @report.comment
+  = @report.comment.presence || t('reports.comment.none')
 
 - unless @statuses.empty?
   %hr/