From be29d5f7ad079100f0018940a3e06be48ab7be42 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 11 Aug 2017 07:51:25 +0800 Subject: [PATCH] fix webhook link --- templates/repo/settings/hook_gitea.tmpl | 2 +- templates/repo/settings/hook_gogs.tmpl | 2 +- 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"}} -

{{.i18n.Tr "repo.settings.add_webhook_desc" "https://docs.gitea.io/features/webhook.html" | Str2html}}

+

{{.i18n.Tr "repo.settings.add_webhook_desc" "https://docs.gitea.io/en-us/webhooks/" | Str2html}}

{{.CsrfTokenHtml}}
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"}} -

{{.i18n.Tr "repo.settings.add_webhook_desc" "https://docs.gitea.io/features/webhook.html" | Str2html}}

+

{{.i18n.Tr "repo.settings.add_webhook_desc" "https://docs.gitea.io/en-us/webhooks/" | Str2html}}

{{.CsrfTokenHtml}}