aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2025-02-05 16:48:22 -0800
committerGitHub <noreply@github.com>2025-02-06 08:48:22 +0800
commit58daaf66e892e4fae08e65244ce4ed924996a498 (patch)
tree786564b5d73a9ee1e0a346f51dc42597b37d385a
parentf076ada601810cabd7c346d05f66790087c76444 (diff)
downloadgitea-58daaf66e892e4fae08e65244ce4ed924996a498.tar.gz
gitea-58daaf66e892e4fae08e65244ce4ed924996a498.zip
Fix a bug caused by status webhook template (#33512)
Fix #33511
-rw-r--r--templates/repo/settings/webhook/settings.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/settings/webhook/settings.tmpl b/templates/repo/settings/webhook/settings.tmpl
index b31003f2f1..07e7305866 100644
--- a/templates/repo/settings/webhook/settings.tmpl
+++ b/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>