@(comments: gitbucket.core.model.CommitComments,
hasWritePermission: Boolean,
repository: gitbucket.core.service.RepositoryService.RepositoryInfo,
latestCommitId: Option[String] = None)(implicit context: gitbucket.core.controller.Context)
<div class="panel panel-default">
<div class="panel-heading">
@comments.fileName
</div>
@comments.comments.map { comment =>
@gitbucket.core.helper.html.commitcomment(comment, hasWritePermission, repository, latestCommitId)
}
</div>