2022-10-03 13:29:59 +02:00
|
|
|
<ul class="nav nav-list user_info_popover_manage_menu" data-user-id="{{user_id}}">
|
|
|
|
{{#if can_mute }}
|
|
|
|
<li>
|
|
|
|
<a tabindex="0" class="sidebar-popover-mute-user">
|
2023-03-15 23:51:27 +01:00
|
|
|
<i class="fa fa-eye-slash" aria-hidden="true"></i> {{t "Mute this user" }}
|
2022-10-03 13:29:59 +02:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{#if can_unmute}}
|
|
|
|
<li>
|
|
|
|
<a tabindex="0" class="sidebar-popover-unmute-user">
|
2023-03-15 23:51:27 +01:00
|
|
|
<i class="fa fa-eye" aria-hidden="true"></i> {{t "Unmute this user" }}
|
2022-10-03 13:29:59 +02:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{#if can_manage_user}}
|
|
|
|
{{#if is_active}}
|
|
|
|
<li>
|
|
|
|
<a tabindex="0" class="sidebar-popover-manage-user">
|
2023-03-15 23:51:27 +01:00
|
|
|
<i class="fa fa-edit" aria-hidden="true"></i> {{#if is_bot}}{{t "Manage this bot" }}{{else}}{{t "Manage this user" }}{{/if}}
|
2022-10-03 13:29:59 +02:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{else}}
|
|
|
|
<li>
|
|
|
|
<a tabindex="0" class="sidebar-popover-reactivate-user">
|
2023-03-15 23:51:27 +01:00
|
|
|
<i class="fa fa-user-plus" aria-hidden="true"></i> {{#if is_bot}}{{t "Reactivate this bot" }}{{else}}{{t "Reactivate this user" }}{{/if}}
|
2022-10-03 13:29:59 +02:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
</ul>
|