diff options
author | Unknwon <u@gogs.io> | 2017-03-09 04:11:23 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-03-09 04:11:23 -0500 |
commit | 89cc6aa430c65b87808ee4a159e0a80785b51935 (patch) | |
tree | 20ac897b69822337a02796ec7a8d9951bd0c285d /templates/repo | |
parent | c93731339f3da01bb1158acc7acf781f0dfe2468 (diff) |
webhook: add issue comment event
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/settings/webhook_settings.tmpl | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/templates/repo/settings/webhook_settings.tmpl b/templates/repo/settings/webhook_settings.tmpl index 6ba931b7..a9c7d86a 100644 --- a/templates/repo/settings/webhook_settings.tmpl +++ b/templates/repo/settings/webhook_settings.tmpl @@ -67,8 +67,18 @@ <div class="field"> <div class="ui checkbox"> <input class="hidden" name="issues" type="checkbox" tabindex="0" {{if .Webhook.Issues}}checked{{end}}> - <label>{{.i18n.Tr "repo.settings.event_issue"}}</label> - <span class="help">{{.i18n.Tr "repo.settings.event_issue_desc"}}</span> + <label>{{.i18n.Tr "repo.settings.event_issues"}}</label> + <span class="help">{{.i18n.Tr "repo.settings.event_issues_desc"}}</span> + </div> + </div> + </div> + <!-- Issue Comment --> + <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> </div> </div> </div> |