@(comments: List[models.Comment])(implicit user: Option[models.User]) @import api.Permission @comments.reverse.map { c => @if(Permission.checkPermission(Permission.ViewComments, ResourceRef(ResourceRef.comment, c.id))) {
@c.author.fullName @c.posted.format("MMM dd, yyyy HH:mm:ss")
@Html(c.text)
@comment(c.replies)
} }