File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed 
web_src/js/features/admin Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 117117							<input type="checkbox" name="groups_enabled" class="js-ldap-group-toggle" {{if $cfg.GroupsEnabled}}checked{{end}}>
118118						</div>
119119					</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}}" >
121121						<div class="field">
122122							<label>{{.locale.Tr "admin.auths.group_search_base"}}</label>
123123							<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 122122						<input name="allow_git_hook" type="checkbox" {{if .User.CanEditGitHook}}checked{{end}} {{if DisableGitHooks}}disabled{{end}}>
123123					</div>
124124				</div>
125- 				<div class="inline field"  {{if or (DisableImportLocal) (.DisableMigrations)}}hidden{{end}}>
125+ 				<div class="inline field {{if or (DisableImportLocal) (.DisableMigrations)}}gt- hidden{{end}}" >
126126					<div class="ui checkbox">
127127						<label><strong>{{.locale.Tr "admin.users.allow_import_local"}}</strong></label>
128128						<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() {
5050
5151  function  onUsePagedSearchChange ( )  { 
5252    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' ) ; 
5555    }  else  { 
56-       hideElem ( $ ( '.search-page-size' ) ) 
57-          . find ( 'input' ) . removeAttr ( 'required' ) ; 
56+       hideElem ( '.search-page-size' ) ; 
57+       $ ( '.search-page-size' ) . find ( 'input' ) . removeAttr ( 'required' ) ; 
5858    } 
5959  } 
6060
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments