@(comment: model.CommitComment, hasWritePermission: Boolean, repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context) @import context._ @import view.helpers._
@avatar(comment.commentedUserName, 48)
@user(comment.commentedUserName, styleClass="username strong") commented @if(comment.fileName.isDefined){ on @comment.fileName.get } in @comment.commitId.substring(0, 7) @helper.html.datetimeago(comment.registeredDate) @if(hasWritePermission || loginAccount.map(_.userName == comment.commentedUserName).getOrElse(false)){   }
@markdown(comment.content, repository, false, true, true, hasWritePermission)