Back to Frontend

CommentsList.Scala

discussion/app/views/discussionComments/commentsList.scala.html

latest512 B
Original Source

@(page: discussion.CommentPage, renderPagination: Boolean)(implicit request: RequestHeader)

[email protected]="@switch.state" }> @userMessageForLargeDiscussion @page.comments.map { comment => @fragments.comment(comment, page.isClosedForRecommendation, false) }

@fragments.commentPagination(page) @fragments.reportComment() @fragments.recommendationTooltip() @userMessageForLargeDiscussion = { @if(page.isLargeDiscussion){ Due to the large number of comments, they are being shown 100 per page. } }