@(webHooks: List[(gitbucket.core.model.WebHook, Set[gitbucket.core.model.WebHook.Event])], repository: gitbucket.core.service.RepositoryService.RepositoryInfo, info: Option[Any])(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.view.helpers @gitbucket.core.html.main("Settings", Some(repository)){ @gitbucket.core.html.menu("settings", repository){ @gitbucket.core.settings.html.menu("hooks", repository){ @gitbucket.core.helper.html.information(info)
Webhooks

Webhooks notify external services when certain events occur within this repository. When any of the specified events occur, GitBucket will send a POST request to all of the endpoints (URLs) you provide. Learn more about this feature on the GitBucket Wiki.

Add webhook

@webHooks.map { case (webHook, events) =>
@webHook.url (@events.map(_.name).mkString(", ")) |
}

} } }