@(commits: Seq[Seq[util.JGitUtil.CommitInfo]], diffs: List[util.JGitUtil.DiffInfo],
origin: String, originId: String, forkedId: String, commitId: String,
repository: service.RepositoryService.RepositoryInfo,
originRepository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context)
@import context._
@import view.helpers._
@import org.eclipse.jgit.diff.DiffEntry.ChangeType
@html.main("Pull Requests - " + repository.owner + "/" + repository.name){
@html.header("pulls", repository)
Edit
@origin:@originId ...
@repository.owner:@forkedId
@if(commits.nonEmpty){
}
@if(commits.isEmpty){
There isn't anything to compare.
@origin:@originId and @repository.owner:@forkedId are identical.
|
} else {
@helper.html.diff(diffs, repository, Some(commitId))
}
}