@(pathList: List[String], branch: String, repository: app.RepositoryInfo, commits: Seq[Seq[app.CommitInfo]], page: Int, hasNext: Boolean)(implicit context: app.Context) @import context._ @import view.helpers @html.main(repository.owner+"/"+repository.name) { @html.header("code", repository) @navtab(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 { date =>

@helpers.date(date.head.time)
@date.map { commit =>
@helpers.cut(commit.message, 100) @commit.committer @helpers.datetime(commit.time) @commit.id.substring(0, 10) Browse code
}

}
}