diff options
author | EnricoFerro <enrico.ferro@dncsrl.com> | 2018-08-24 07:00:22 +0200 |
---|---|---|
committer | techknowlogick <techknowlogick@users.noreply.github.com> | 2018-08-24 01:00:22 -0400 |
commit | 0a24f5cac8f131d84578b0c692ee2fe81a89fba4 (patch) | |
tree | 0e03bbc9609dc3e0a6d36989297a705b1cdbd676 /templates | |
parent | 194a11eb110cd98fc2ba52861abf7770db6885a3 (diff) | |
download | gitea-0a24f5cac8f131d84578b0c692ee2fe81a89fba4.tar.gz gitea-0a24f5cac8f131d84578b0c692ee2fe81a89fba4.zip |
Disable 'May Import Local Repository' when is disabled by setting (Issue #4779) (#4780)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin/user/edit.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/user/edit.tmpl b/templates/admin/user/edit.tmpl index ae7cb56616..b2ec622ca2 100644 --- a/templates/admin/user/edit.tmpl +++ b/templates/admin/user/edit.tmpl @@ -92,7 +92,7 @@ <div class="inline field"> <div class="ui checkbox"> <label><strong>{{.i18n.Tr "admin.users.allow_import_local"}}</strong></label> - <input name="allow_import_local" type="checkbox" {{if .User.CanImportLocal}}checked{{end}}> + <input name="allow_import_local" type="checkbox" {{if .User.CanImportLocal}}checked{{end}} {{if DisableImportLocal}}disabled{{end}}> </div> </div> {{if not .DisableRegularOrgCreation}} |