mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	popovers: Remove the "Manage this user" link for deactivated users.
The "Manage this user" link did not work correctly for deactivated users. Fixes part of #21428.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							ecf557eab9
						
					
				
				
					commit
					211f137fc8
				
			@@ -184,11 +184,13 @@
 | 
			
		||||
        </li>
 | 
			
		||||
        {{/if}}
 | 
			
		||||
        {{#if show_manage_user_option}}
 | 
			
		||||
        <li>
 | 
			
		||||
            <a tabindex="0" class="sidebar-popover-manage-user">
 | 
			
		||||
                <i class="fa fa-edit" aria-hidden="true"></i> {{#tr}}Manage this user{{/tr}}
 | 
			
		||||
            </a>
 | 
			
		||||
        </li>
 | 
			
		||||
            {{#if is_active}}
 | 
			
		||||
            <li>
 | 
			
		||||
                <a tabindex="0" class="sidebar-popover-manage-user">
 | 
			
		||||
                    <i class="fa fa-edit" aria-hidden="true"></i> {{#tr}}Manage this user{{/tr}}
 | 
			
		||||
                </a>
 | 
			
		||||
            </li>
 | 
			
		||||
            {{/if}}
 | 
			
		||||
        {{/if}}
 | 
			
		||||
    {{/if}}
 | 
			
		||||
</ul>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user