@(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 context._ @import gitbucket.core.view.helpers._ @import gitbucket.core.model.WebHook._ @check(bool:Boolean)={@if(bool){ checked}} @html.main(s"Branch protection for ${branch}", Some(repository)){ @html.menu("settings", repository){ @menu("branches", repository){ @helper.html.information(info)
} } }