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:
yogesh sirsat
2022-03-16 10:53:43 +05:30
committed by Tim Abbott
parent ecf557eab9
commit 211f137fc8

View File

@@ -184,11 +184,13 @@
</li> </li>
{{/if}} {{/if}}
{{#if show_manage_user_option}} {{#if show_manage_user_option}}
<li> {{#if is_active}}
<a tabindex="0" class="sidebar-popover-manage-user"> <li>
<i class="fa fa-edit" aria-hidden="true"></i> {{#tr}}Manage this user{{/tr}} <a tabindex="0" class="sidebar-popover-manage-user">
</a> <i class="fa fa-edit" aria-hidden="true"></i> {{#tr}}Manage this user{{/tr}}
</li> </a>
</li>
{{/if}}
{{/if}} {{/if}}
{{/if}} {{/if}}
</ul> </ul>