@(branchInfo: List[(String, java.util.Date)], repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context) @import context._ @import view.helpers._ @html.main(s"${repository.owner}/${repository.name}", Some(repository)) { @html.header("code", repository) @tab(repository.repository.defaultBranch, repository, "branches", true)

# Branches

Branch | Last update | Compare | Download
--- | --- | --- | ---
@branchInfo.map { case (branchName, latestUpdateDate) =>
@branchName @* Delete branch *@ | @datetime(latestUpdateDate) | @if(repository.repository.defaultBranch == branchName){ Base branch } else { to @{repository.repository.defaultBranch} } | ZIP
}

}