aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-08-11 07:51:25 +0800
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2017-08-11 03:45:54 +0200
commitbe29d5f7ad079100f0018940a3e06be48ab7be42 (patch)
treea5af22e79c091a8d8d79864feb3d98bf8169796e
parente90bbcaa52230c88395aee098350af4a0fb38415 (diff)
downloadgitea-be29d5f7ad079100f0018940a3e06be48ab7be42.tar.gz
gitea-be29d5f7ad079100f0018940a3e06be48ab7be42.zip
fix webhook link
-rw-r--r--templates/repo/settings/hook_gitea.tmpl2
-rw-r--r--templates/repo/settings/hook_gogs.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/settings/hook_gitea.tmpl b/templates/repo/settings/hook_gitea.tmpl
index 4ac6d718c9..fc5e35e068 100644
--- a/templates/repo/settings/hook_gitea.tmpl
+++ b/templates/repo/settings/hook_gitea.tmpl
@@ -1,5 +1,5 @@
{{if eq .HookType "gitea"}}
- <p>{{.i18n.Tr "repo.settings.add_webhook_desc" "https://docs.gitea.io/features/webhook.html" | Str2html}}</p>
+ <p>{{.i18n.Tr "repo.settings.add_webhook_desc" "https://docs.gitea.io/en-us/webhooks/" | Str2html}}</p>
<form class="ui form" action="{{.BaseLink}}/settings/hooks/gitea/{{if .PageIsSettingsHooksNew}}new{{else}}{{.Webhook.ID}}{{end}}" method="post">
{{.CsrfTokenHtml}}
<div class="required field {{if .Err_PayloadURL}}error{{end}}">
diff --git a/templates/repo/settings/hook_gogs.tmpl b/templates/repo/settings/hook_gogs.tmpl
index a8145f2789..28098d14ec 100644
--- a/templates/repo/settings/hook_gogs.tmpl
+++ b/templates/repo/settings/hook_gogs.tmpl
@@ -1,5 +1,5 @@
{{if eq .HookType "gogs"}}
- <p>{{.i18n.Tr "repo.settings.add_webhook_desc" "https://docs.gitea.io/features/webhook.html" | Str2html}}</p>
+ <p>{{.i18n.Tr "repo.settings.add_webhook_desc" "https://docs.gitea.io/en-us/webhooks/" | Str2html}}</p>
<form class="ui form" action="{{.BaseLink}}/settings/hooks/gogs/{{if .PageIsSettingsHooksNew}}new{{else}}{{.Webhook.ID}}{{end}}" method="post">
{{.CsrfTokenHtml}}
<div class="required field {{if .Err_PayloadURL}}error{{end}}">