diff options
author | Unknwon <u@gogs.io> | 2018-06-03 20:32:44 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2018-06-03 20:32:44 +0800 |
commit | c08aab90ec696b7fcc56b8da0a468e74d266b89e (patch) | |
tree | 7add72f54be31c2bd05ff1fa6676a99bffe4cc26 /templates | |
parent | 8d091ec062815dfd885c540d107ac2e07ed6b880 (diff) |
models/mirror: shot push webhook after synced commits (#4528)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/.VERSION | 2 | ||||
-rw-r--r-- | templates/repo/settings/webhook/settings.tmpl | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/templates/.VERSION b/templates/.VERSION index f3aed093..3eb9fd48 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.11.52.0603
\ No newline at end of file +0.11.53.0603
\ No newline at end of file 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> |