@(id: String, repository: service.RepositoryService.RepositoryInfo, active: String, hideBranchPulldown: Boolean = false)(implicit context: app.Context) @import context._ @import view.helpers._

@if(!hideBranchPulldown){
- @repository.branchList.map { branch =>
  - @helper.html.checkicon(id == branch) @branch
  }
} <li@if(active=="files" ){ class="active"}>Files <li@if(active=="commits" ){ class="active"}>Commits <li@if(active=="branches"){ class="active"}>Branches@if(repository.branchList.length > 0){ @repository.branchList.length} <li@if(active=="tags" ){ class="active"}>Tags@if(repository.tags.length > 0){ @repository.tags.length}