]> source.dussan.org Git - gitea.git/commitdiff
[Fix] Checkbox at RepoSettings Protected Branch (#8799)
author6543 <24977596+6543@users.noreply.github.com>
Sun, 3 Nov 2019 00:54:39 +0000 (01:54 +0100)
committerzeripath <art27@cantab.net>
Sun, 3 Nov 2019 00:54:39 +0000 (00:54 +0000)
* add missing "d"

* CI.redo()

templates/repo/settings/protected_branch.tmpl

index a50765c4b4794f470c5db21a5b9008be6251884a..4b401b5131624b3ed79af251f35037423b8bb44a 100644 (file)
                                                                {{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}}