aboutsummaryrefslogtreecommitdiffstats
path: root/templates/admin/user
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-02-22 23:26:02 +0800
committerGitHub <noreply@github.com>2023-02-22 15:26:02 +0000
commiteb5a55785de39ae7162911f553b132c03ae7b424 (patch)
tree2104c7a5d42bd235b9eedb95adf434264e3766c8 /templates/admin/user
parent90a7bba1f2af1b0d0ba762fc2e1f5b3878b7dbe8 (diff)
downloadgitea-eb5a55785de39ae7162911f553b132c03ae7b424.tar.gz
gitea-eb5a55785de39ae7162911f553b132c03ae7b424.zip
Fix some more hidden problems (#23074)
Follows #22950
Diffstat (limited to 'templates/admin/user')
-rw-r--r--templates/admin/user/edit.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/user/edit.tmpl b/templates/admin/user/edit.tmpl
index 7d31eb4d2b..5dd1f531fd 100644
--- a/templates/admin/user/edit.tmpl
+++ b/templates/admin/user/edit.tmpl
@@ -122,7 +122,7 @@
<input name="allow_git_hook" type="checkbox" {{if .User.CanEditGitHook}}checked{{end}} {{if DisableGitHooks}}disabled{{end}}>
</div>
</div>
- <div class="inline field" {{if or (DisableImportLocal) (.DisableMigrations)}}hidden{{end}}>
+ <div class="inline field {{if or (DisableImportLocal) (.DisableMigrations)}}gt-hidden{{end}}">
<div class="ui checkbox">
<label><strong>{{.locale.Tr "admin.users.allow_import_local"}}</strong></label>
<input name="allow_import_local" type="checkbox" {{if .User.CanImportLocal}}checked{{end}} {{if DisableImportLocal}}disabled{{end}}>