summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author6543 <24977596+6543@users.noreply.github.com>2019-11-03 01:54:39 +0100
committerzeripath <art27@cantab.net>2019-11-03 00:54:39 +0000
commitfe7a6d9bfcbcf53bfe2d24f4d8e7463c897b9389 (patch)
tree7abf945652735e0ab04133aba276d60dafec807f
parent61a3eae923f60c2ab84d3cbb8ed9c155817c37bd (diff)
downloadgitea-fe7a6d9bfcbcf53bfe2d24f4d8e7463c897b9389.tar.gz
gitea-fe7a6d9bfcbcf53bfe2d24f4d8e7463c897b9389.zip
[Fix] Checkbox at RepoSettings Protected Branch (#8799)
* add missing "d" * CI.redo()
-rw-r--r--templates/repo/settings/protected_branch.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/settings/protected_branch.tmpl b/templates/repo/settings/protected_branch.tmpl
index a50765c4b4..4b401b5131 100644
--- a/templates/repo/settings/protected_branch.tmpl
+++ b/templates/repo/settings/protected_branch.tmpl
@@ -132,7 +132,7 @@
{{range $.branch_status_check_contexts}}
<tr><td>
<span class="ui checkbox">
- <input class="enable-whitelist" name="status_check_contexts" value="{{.}}" type="checkbox" {{if $.is_context_require}}{{if call $.is_context_required .}}checked{{end}}{{end}}>
+ <input class="enable-whitelist" name="status_check_contexts" value="{{.}}" type="checkbox" {{if $.is_context_required}}{{if call $.is_context_required .}}checked{{end}}{{end}}>
</span>
{{.}}
{{if $.is_context_required}}{{if call $.is_context_required .}}<div class="ui label right">Required</div>{{end}}{{end}}