@(pageName: Option[String], commits: List[gitbucket.core.util.JGitUtil.CommitInfo], repository: gitbucket.core.service.RepositoryService.RepositoryInfo)(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.view.helpers @gitbucket.core.html.main(s"History - ${repository.owner}/${repository.name}", Some(repository)){ @gitbucket.core.html.menu("wiki", repository){
@if(pageName.isEmpty){ @if(context.loginAccount.isDefined){ New Page } } else { @if(context.loginAccount.isDefined){ Edit Page New Page } }

# @if(pageName.isEmpty){ History } else { History for @pageName.get }

Revisions
@commits.map { commit =>
| @helpers.avatar(commit, 20) @helpers.user(commit.authorName, commit.authorEmailAddress) | @gitbucket.core.helper.html.datetimeago(commit.authorTime): @commit.shortMessage
}

} }