@(pathList: List[String], branch: String, repository: service.RepositoryService.RepositoryInfo, commits: Seq[Seq[util.JGitUtil.CommitInfo]], page: Int, hasNext: Boolean)(implicit context: app.Context) @import context._ @import view.helpers._ @html.main(repository.owner+"/"+repository.name) { @html.header("code", repository) @tab(branch, repository, if(pathList.isEmpty) "commits" else "files")
@if(pathList.isEmpty){ @repository.name / Commit History } @if(pathList.nonEmpty){ History for @repository.name / @pathList.zipWithIndex.map { case (section, i) => @if(i == pathList.length - 1){ @section } else { @section / } } }
@commits.map { day =>

@date(day.head.time)
@day.map { commit =>
@link(commit.summary, repository) @if(commit.description.isDefined){ ... } @if(commit.description.isDefined){
    @link(commit.description.get, repository)
} @commit.committer @datetime(commit.time) @commit.id.substring(0, 10) Browse code
}

}
}