@(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 context._ @import gitbucket.core.view.helpers._ @html.main("Settings", Some(repository)){ @html.menu("settings", repository){ @menu("hooks", repository){ @helper.html.information(info)
Webhooks

Webhooks allow external services to be notified when certain events happen within your repository. When the specified events happen, we’ll send a POST request to each of the URLs you provide. Learn more in GitBucket Wiki Webhook Page.

Add webhook

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

} } }