@(branch: String, repository: app.RepositoryInfo, pathList: List[String], content: app.ContentInfo, latestCommit: app.CommitInfo)(implicit context: app.Context) @import context._ @import view.helpers @main(repository.owner+"/"+repository.name) { @header(branch, repository) @navtab(branch, repository, "files")
@repository.name / @pathList.zipWithIndex.map { case (path, i) => @if(i == pathList.length - 1){ @path } else { @path / } }
@latestCommit.committer @helpers.datetime(latestCommit.time) @helpers.cut(latestCommit.message, 100)
@if(content.viewType == "text"){
@content.content.get
} @if(content.viewType == "image"){ } @if(content.viewType == "large"){
View Raw
(Sorry about that, but we can't show files that are this big right now)
}
}