@(issue: model.Issue, pullreq: model.PullRequest, comments: List[model.IssueComment], collaborators: List[String], milestones: List[(model.Milestone, Int, Int)], hasConflict: Boolean, hasWritePermission: Boolean, repository: service.RepositoryService.RepositoryInfo, requestRepositoryUrl: String)(implicit context: app.Context) @import context._ @import view.helpers._
@issues.html.issuedetail(issue, comments, collaborators, milestones, hasWritePermission, repository) @issues.html.commentlist(issue, comments, hasWritePermission, repository, Some(pullreq)) @if(hasWritePermission && !issue.closed){
@if(hasConflict){ We can’t automatically merge this pull request. } else { This pull request can be automatically merged. }
@if(hasConflict){ Use the command line to resolve conflicts before continuing. } else { You can also merge branches on the command line. }
} @issues.html.commentform(issue, hasWritePermission, repository)
@if(issue.closed) { @if(comments.exists(_.action == "merge")){ Merged } else { Closed } } else { Open }
@comments.size @plural(comments.size, "comment")