@(repository: gitbucket.core.service.RepositoryService.RepositoryInfo, branch: String, protection: gitbucket.core.api.ApiBranchProtection, knownContexts: Seq[String], info: Option[Any])(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.view.helpers @check(bool:Boolean)={@if(bool){ checked}} @gitbucket.core.html.main(s"Branch protection for ${branch}", Some(repository)){ @gitbucket.core.html.menu("settings", repository){ @gitbucket.core.settings.html.menu("branches", repository){ @gitbucket.core.helper.html.information(info)
Branch protection for @branch

Disables force-pushes to this branch and prevents it from being deleted.

} } }