File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
templates/repo/settings/webhook Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ var Webhooks = make(map[string]*Webhook)
21
21
type Webhook struct {
22
22
ID string `yaml:"id"`
23
23
Label string `yaml:"label"`
24
- URL string `yaml:"url "`
24
+ Docs string `yaml:"docs "`
25
25
HTTP string `yaml:"http"`
26
26
Exec []string `yaml:"exec"`
27
27
Form []Form `yaml:"form"`
Original file line number Diff line number Diff line change 1
1
{{if .CustomHook}}
2
- <p>{{.i18n.Tr "repo.settings.add_web_hook_desc" .CustomHook.URL .CustomHook.Label | Str2html}}</p>
2
+ <p>{{.i18n.Tr "repo.settings.add_web_hook_desc" .CustomHook.Docs .CustomHook.Label | Str2html}}</p>
3
3
<form class="ui form" action="{{.BaseLink}}/{{.CustomHook.ID}}/{{or .Webhook.ID "new"}}" method="post">
4
4
{{template "base/disable_form_autofill"}}
5
5
{{.CsrfTokenHtml}}
You can’t perform that action at this time.
0 commit comments