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 ( const (
tplHooks base.TplName = "repo/settings/webhook/base" tplHooks base.TplName = "repo/settings/webhook/base"
tplHookNew base.TplName = "repo/settings/webhook/new" 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 // Webhooks render web hooks list page

View File

@ -23,14 +23,14 @@
</div> </div>
</h4> </h4>
<div class="ui attached segment"> <div class="ui attached segment">
{{template "repo/settings/hook_gitea" .}} {{template "repo/settings/webhook/gitea" .}}
{{template "repo/settings/hook_gogs" .}} {{template "repo/settings/webhook/gogs" .}}
{{template "repo/settings/hook_slack" .}} {{template "repo/settings/webhook/slack" .}}
{{template "repo/settings/hook_discord" .}} {{template "repo/settings/webhook/discord" .}}
{{template "repo/settings/hook_dingtalk" .}} {{template "repo/settings/webhook/dingtalk" .}}
</div> </div>
{{template "repo/settings/hook_history" .}} {{template "repo/settings/webhook/history" .}}
</div> </div>
</div> </div>
</div> </div>

View File

@ -5,7 +5,7 @@
<div class="ui grid"> <div class="ui grid">
{{template "org/settings/navbar" .}} {{template "org/settings/navbar" .}}
<div class="twelve wide column content"> <div class="twelve wide column content">
{{template "repo/settings/hook_list" .}} {{template "repo/settings/webhook/list" .}}
</div> </div>
</div> </div>
</div> </div>