summaryrefslogtreecommitdiffstats
path: root/templates/org
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2018-05-23 15:23:23 +0800
committerGitHub <noreply@github.com>2018-05-23 15:23:23 +0800
commit60d95a0b858aa0c22bb621cbe079fb70261d594c (patch)
tree5e086a026edf59070f087a645f5249cfa1cd4a5c /templates/org
parent71a8fe3e7c601e9c5e286e2303962a7760d5fb17 (diff)
downloadgitea-60d95a0b858aa0c22bb621cbe079fb70261d594c.tar.gz
gitea-60d95a0b858aa0c22bb621cbe079fb70261d594c.zip
fix bugs caused by #3929 (#3999)
Diffstat (limited to 'templates/org')
-rw-r--r--templates/org/settings/hook_new.tmpl12
-rw-r--r--templates/org/settings/hooks.tmpl2
2 files changed, 7 insertions, 7 deletions
diff --git a/templates/org/settings/hook_new.tmpl b/templates/org/settings/hook_new.tmpl
index bedb2dc142..809009b66b 100644
--- a/templates/org/settings/hook_new.tmpl
+++ b/templates/org/settings/hook_new.tmpl
@@ -23,14 +23,14 @@
</div>
</h4>
<div class="ui attached segment">
- {{template "repo/settings/hook_gitea" .}}
- {{template "repo/settings/hook_gogs" .}}
- {{template "repo/settings/hook_slack" .}}
- {{template "repo/settings/hook_discord" .}}
- {{template "repo/settings/hook_dingtalk" .}}
+ {{template "repo/settings/webhook/gitea" .}}
+ {{template "repo/settings/webhook/gogs" .}}
+ {{template "repo/settings/webhook/slack" .}}
+ {{template "repo/settings/webhook/discord" .}}
+ {{template "repo/settings/webhook/dingtalk" .}}
</div>
- {{template "repo/settings/hook_history" .}}
+ {{template "repo/settings/webhook/history" .}}
</div>
</div>
</div>
diff --git a/templates/org/settings/hooks.tmpl b/templates/org/settings/hooks.tmpl
index 9052bf6146..825b1e941d 100644
--- a/templates/org/settings/hooks.tmpl
+++ b/templates/org/settings/hooks.tmpl
@@ -5,7 +5,7 @@
<div class="ui grid">
{{template "org/settings/navbar" .}}
<div class="twelve wide column content">
- {{template "repo/settings/hook_list" .}}
+ {{template "repo/settings/webhook/list" .}}
</div>
</div>
</div>