aboutsummaryrefslogtreecommitdiff
path: root/templates/repo/settings/webhook/settings.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2018-06-03 20:32:44 +0800
committerUnknwon <u@gogs.io>2018-06-03 20:32:44 +0800
commitc08aab90ec696b7fcc56b8da0a468e74d266b89e (patch)
tree7add72f54be31c2bd05ff1fa6676a99bffe4cc26 /templates/repo/settings/webhook/settings.tmpl
parent8d091ec062815dfd885c540d107ac2e07ed6b880 (diff)
models/mirror: shot push webhook after synced commits (#4528)
Diffstat (limited to 'templates/repo/settings/webhook/settings.tmpl')
-rw-r--r--templates/repo/settings/webhook/settings.tmpl16
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/repo/settings/webhook/settings.tmpl b/templates/repo/settings/webhook/settings.tmpl
index 2e57338d..0581f204 100644
--- a/templates/repo/settings/webhook/settings.tmpl
+++ b/templates/repo/settings/webhook/settings.tmpl
@@ -72,23 +72,23 @@
</div>
</div>
</div>
- <!-- Issue Comment -->
+ <!-- Pull Request -->
<div class="seven wide column">
<div class="field">
<div class="ui checkbox">
- <input class="hidden" name="issue_comment" type="checkbox" tabindex="0" {{if .Webhook.IssueComment}}checked{{end}}>
- <label>{{.i18n.Tr "repo.settings.event_issue_comment"}}</label>
- <span class="help">{{.i18n.Tr "repo.settings.event_issue_comment_desc"}}</span>
+ <input class="hidden" name="pull_request" type="checkbox" tabindex="0" {{if .Webhook.PullRequest}}checked{{end}}>
+ <label>{{.i18n.Tr "repo.settings.event_pull_request"}}</label>
+ <span class="help">{{.i18n.Tr "repo.settings.event_pull_request_desc"}}</span>
</div>
</div>
</div>
- <!-- Pull Request -->
+ <!-- Issue Comment -->
<div class="seven wide column">
<div class="field">
<div class="ui checkbox">
- <input class="hidden" name="pull_request" type="checkbox" tabindex="0" {{if .Webhook.PullRequest}}checked{{end}}>
- <label>{{.i18n.Tr "repo.settings.event_pull_request"}}</label>
- <span class="help">{{.i18n.Tr "repo.settings.event_pull_request_desc"}}</span>
+ <input class="hidden" name="issue_comment" type="checkbox" tabindex="0" {{if .Webhook.IssueComment}}checked{{end}}>
+ <label>{{.i18n.Tr "repo.settings.event_issue_comment"}}</label>
+ <span class="help">{{.i18n.Tr "repo.settings.event_issue_comment_desc"}}</span>
</div>
</div>
</div>