diff options
Diffstat (limited to 'templates/repo/settings')
-rw-r--r-- | templates/repo/settings/protected_branch.tmpl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/repo/settings/protected_branch.tmpl b/templates/repo/settings/protected_branch.tmpl index 067d1d9761..a50765c4b4 100644 --- a/templates/repo/settings/protected_branch.tmpl +++ b/templates/repo/settings/protected_branch.tmpl @@ -59,6 +59,13 @@ </div> </div> {{end}} + <br> + <div class="whitelist field"> + <div class="ui checkbox"> + <input type="checkbox" name="whitelist_deploy_keys" {{if .Branch.WhitelistDeployKeys}}checked{{end}}> + <label for="whitelist_deploy_keys">{{.i18n.Tr "repo.settings.protect_whitelist_deploy_keys"}}</label> + </div> + </div> </div> <div class="field"> |