@(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){
@if(pageName.isDefined){ View Page Back to Page History } else { Back to Wiki History } @if(isEditable) { @if(pageName.isDefined) { Revert Changes } else { Revert Changes } }

# Compare Revisions

@gitbucket.core.helper.html.diff(diffs, repository, None, None, false, None, false, false) } }