We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62461dc commit 5487883Copy full SHA for 5487883
modules/webhook/webhook.go
@@ -21,7 +21,7 @@ var Webhooks = make(map[string]*Webhook)
21
type Webhook struct {
22
ID string `yaml:"id"`
23
Label string `yaml:"label"`
24
- URL string `yaml:"url"`
+ Docs string `yaml:"docs"`
25
HTTP string `yaml:"http"`
26
Exec []string `yaml:"exec"`
27
Form []Form `yaml:"form"`
templates/repo/settings/webhook/custom.tmpl
@@ -1,5 +1,5 @@
1
{{if .CustomHook}}
2
- <p>{{.i18n.Tr "repo.settings.add_web_hook_desc" .CustomHook.URL .CustomHook.Label | Str2html}}</p>
+ <p>{{.i18n.Tr "repo.settings.add_web_hook_desc" .CustomHook.Docs .CustomHook.Label | Str2html}}</p>
3
<form class="ui form" action="{{.BaseLink}}/{{.CustomHook.ID}}/{{or .Webhook.ID "new"}}" method="post">
4
{{template "base/disable_form_autofill"}}
5
{{.CsrfTokenHtml}}
0 commit comments