@(pageName: Option[String], from: String, to: String, diffs: Seq[util.JGitUtil.DiffInfo], repository: service.RepositoryService.RepositoryInfo, hasWritePermission: Boolean, info: Option[Any])(implicit context: app.Context) @import context._ @import view.helpers._ @import org.eclipse.jgit.diff.DiffEntry.ChangeType @html.main(s"Compare Revisions - ${repository.owner}/${repository.name}", Some(repository)){ @helper.html.information(info) @html.menu("wiki", repository){
@helper.html.diff(diffs, repository, None, None, false, false, false) @if(hasWritePermission){
@if(pageName.isDefined){ Revert Changes } else { Revert Changes }
} } }