1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-21 12:44:49 -05:00

fix bugs caused by #3929 (#3999)

This commit is contained in:
Lunny Xiao 2018-05-23 15:23:23 +08:00 committed by GitHub
parent 71a8fe3e7c
commit 60d95a0b85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View file

@ -25,7 +25,7 @@ import (
const (
tplHooks base.TplName = "repo/settings/webhook/base"
tplHookNew base.TplName = "repo/settings/webhook/new"
tplOrgHookNew base.TplName = "org/settings/webhook/new"
tplOrgHookNew base.TplName = "org/settings/hook_new"
)
// Webhooks render web hooks list page

View file

@ -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>

View file

@ -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>