add text for no comments
This commit is contained in:
parent
cd289a32c4
commit
2e048d9472
|
@ -1,5 +1,7 @@
|
|||
There are no comments yet
|
||||
%ul.comments
|
||||
- if report.moderation_comments.all.count == 0
|
||||
There are no comments yet.
|
||||
- else
|
||||
%ul.comments
|
||||
- report.moderation_comments.all.each do |comment|
|
||||
%li{data: { comment_id: comment.id }}
|
||||
.media.comments--media
|
||||
|
|
Loading…
Reference in New Issue