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