@(repository: gitbucket.core.service.RepositoryService.RepositoryInfo, protectedBranchList: Seq[String], info: Option[Any])(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.view.helpers @gitbucket.core.html.main("Branches", Some(repository)){ @gitbucket.core.html.menu("settings", repository){ @gitbucket.core.settings.html.menu("branches", repository){ @if(repository.branchList.isEmpty){

You don’t have any branches

Before you can edit branch settings, you need to add a branch.

} else { @gitbucket.core.helper.html.information(info)
Default branch

The default branch is considered the “base” branch in your repository, against which all pull requests and code commits are automatically made, unless you specify a different branch.

Protected branches

Protect branches to disable force pushing, prevent branches from being deleted, and optionally require status checks before merging. New to protected branches?

@protectedBranchList.map { branch =>
@branch Edit
}

} } } }