@(issue: model.Issue, comments: List[model.IssueComment], hasWritePermission: Boolean, repository: service.RepositoryService.RepositoryInfo, pullreq: Option[model.PullRequest] = None)(implicit context: app.Context) @import context._ @import view.helpers._ @comments.map { comment => @if(comment.action != "close" && comment.action != "reopen"){
@pullreq.map(_.commitIdTo.substring(0, 7))
@if(pullreq.get.requestUserName == repository.owner){
@pullreq.map(_.requestBranch) to @pullreq.map(_.branch)
} else {
@pullreq.map(_.requestUserName):@pullreq.map(_.requestBranch) to @pullreq.map(_.userName):@pullreq.map(_.branch)
}
@datetime(comment.registeredDate)