File tree 3 files changed +6
-6
lines changed
web_src/js/features/admin
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 117
117
<input type="checkbox" name="groups_enabled" class="js-ldap-group-toggle" {{if $cfg.GroupsEnabled}}checked{{end}}>
118
118
</div>
119
119
</div>
120
- <div id="ldap-group-options" class="ui segment secondary" {{if not $cfg.GroupsEnabled}}hidden{{end}}>
120
+ <div id="ldap-group-options" class="ui segment secondary {{if not $cfg.GroupsEnabled}}gt- hidden{{end}}" >
121
121
<div class="field">
122
122
<label>{{.locale.Tr "admin.auths.group_search_base"}}</label>
123
123
<input name="group_dn" value="{{$cfg.GroupDN}}" placeholder="e.g. ou=group,dc=mydomain,dc=com">
Original file line number Diff line number Diff line change 122
122
<input name="allow_git_hook" type="checkbox" {{if .User.CanEditGitHook}}checked{{end}} {{if DisableGitHooks}}disabled{{end}}>
123
123
</div>
124
124
</div>
125
- <div class="inline field" {{if or (DisableImportLocal) (.DisableMigrations)}}hidden{{end}}>
125
+ <div class="inline field {{if or (DisableImportLocal) (.DisableMigrations)}}gt- hidden{{end}}" >
126
126
<div class="ui checkbox">
127
127
<label><strong>{{.locale.Tr "admin.users.allow_import_local"}}</strong></label>
128
128
<input name="allow_import_local" type="checkbox" {{if .User.CanImportLocal}}checked{{end}} {{if DisableImportLocal}}disabled{{end}}>
Original file line number Diff line number Diff line change @@ -50,11 +50,11 @@ export function initAdminCommon() {
50
50
51
51
function onUsePagedSearchChange ( ) {
52
52
if ( $ ( '#use_paged_search' ) . prop ( 'checked' ) ) {
53
- showElem ( $ ( '.search-page-size' ) )
54
- . find ( 'input' ) . attr ( 'required' , 'required' ) ;
53
+ showElem ( '.search-page-size' ) ;
54
+ $ ( '.search-page-size' ) . find ( 'input' ) . attr ( 'required' , 'required' ) ;
55
55
} else {
56
- hideElem ( $ ( '.search-page-size' ) )
57
- . find ( 'input' ) . removeAttr ( 'required' ) ;
56
+ hideElem ( '.search-page-size' ) ;
57
+ $ ( '.search-page-size' ) . find ( 'input' ) . removeAttr ( 'required' ) ;
58
58
}
59
59
}
60
60
You can’t perform that action at this time.
0 commit comments