Fix a bug caused by status webhook template (#33512)

Fix #33511
release/v1.23
Lunny Xiao 2 days ago committed by GitHub
parent f076ada601
commit 58daaf66e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      templates/repo/settings/webhook/settings.tmpl

@ -113,7 +113,7 @@
<div class="seven wide column">
<div class="field">
<div class="ui checkbox">
<input name="status" type="checkbox" {{if .Webhook.HookEvents.Get "status"}}checked{{end}}>
<input name="status" type="checkbox" {{if .Webhook.Status}}checked{{end}}>
<label>{{ctx.Locale.Tr "repo.settings.event_statuses"}}</label>
<span class="help">{{ctx.Locale.Tr "repo.settings.event_statuses_desc"}}</span>
</div>

Loading…
Cancel
Save