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

@if(!hideBranchPulldown){
- @helper.html.dropdown( value = if(id.length == 40) id.substring(0, 10) else id, prefix = if(id.length == 40) "tree" else if(repository.branchList.contains(id)) "branch" else "tree", mini = false, style = "margin-right: 20px;" ){ @repository.branchList.map { branch =>
- @helper.html.checkicon(id == branch) @branch
} } } Files Commits Branches@if(repository.branchList.length > 0){ @repository.branchList.length} Tags@if(repository.tags.length > 0){ @repository.tags.length}
- @helper.html.copy("repository-url-copy", repository.url){ }
- ZIP