You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.3 KiB
35 lines
1.3 KiB
9 years ago
|
{{template "base/head" .}}
|
||
|
<div class="repository settings new webhook">
|
||
|
{{template "repo/header" .}}
|
||
8 years ago
|
{{template "repo/settings/navbar" .}}
|
||
9 years ago
|
<div class="ui container">
|
||
8 years ago
|
{{template "base/alert" .}}
|
||
|
<h4 class="ui top attached header">
|
||
|
{{if .PageIsSettingsHooksNew}}{{.i18n.Tr "repo.settings.add_webhook"}}{{else}}{{.i18n.Tr "repo.settings.update_webhook"}}{{end}}
|
||
|
<div class="ui right">
|
||
8 years ago
|
{{if eq .HookType "gitea"}}
|
||
8 years ago
|
<img class="img-13" src="{{AppSubUrl}}/img/gitea-sm.png">
|
||
8 years ago
|
{{else if eq .HookType "gogs"}}
|
||
|
<img class="img-13" src="{{AppSubUrl}}/img/gogs.ico">
|
||
8 years ago
|
{{else if eq .HookType "slack"}}
|
||
|
<img class="img-13" src="{{AppSubUrl}}/img/slack.png">
|
||
7 years ago
|
{{else if eq .HookType "discord"}}
|
||
|
<img class="img-13" src="{{AppSubUrl}}/img/discord.png">
|
||
7 years ago
|
{{else if eq .HookType "dingtalk"}}
|
||
|
<img class="img-13" src="{{AppSubUrl}}/img/dingtalk.ico">
|
||
8 years ago
|
{{end}}
|
||
9 years ago
|
</div>
|
||
8 years ago
|
</h4>
|
||
|
<div class="ui attached segment">
|
||
7 years ago
|
{{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" .}}
|
||
11 years ago
|
</div>
|
||
8 years ago
|
|
||
7 years ago
|
{{template "repo/settings/webhook/history" .}}
|
||
11 years ago
|
</div>
|
||
|
</div>
|
||
9 years ago
|
{{template "base/footer" .}}
|