@(issue: Option[gitbucket.core.model.Issue], comments: List[gitbucket.core.model.Comment], isManageable: Boolean, repository: gitbucket.core.service.RepositoryService.RepositoryInfo, pullreq: Option[gitbucket.core.model.PullRequest] = None)(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.view.helpers @import gitbucket.core.model.CommitComment @if(issue.isDefined){
@pullreq.map(_.commitIdTo.substring(0, 7)) into
@if(pullreq.get.requestUserName == repository.owner){
@pullreq.map(_.branch) from @pullreq.map(_.requestBranch)
} else {
@pullreq.map(_.userName):@pullreq.map(_.branch) from @pullreq.map(_.requestUserName):@pullreq.map(_.requestBranch)
}
@gitbucket.core.helper.html.datetimeago(comment.registeredDate)
@pullreq.map(_.requestBranch) branch
@gitbucket.core.helper.html.datetimeago(comment.registeredDate)