2020-01-29 02:07:09 +01:00
|
|
|
<tr class="user_row{{#unless is_active}} deactivated_user{{/unless}}" data-user-id="{{user_id}}">
|
2014-01-17 20:42:28 +01:00
|
|
|
<td>
|
2020-05-08 15:21:12 +02:00
|
|
|
<span class="user_name" >{{full_name}} {{#if is_current_user}}<span class="my_user_status">{{t '(you)' }}</span>{{/if}}</span>
|
2019-05-16 10:36:20 +02:00
|
|
|
<i class="fa fa-ban deactivated-user-icon" title="{{t 'User is deactivated' }}" {{#if is_active}}style="display: none;"{{/if}}></i>
|
2014-01-17 20:42:28 +01:00
|
|
|
</td>
|
2020-05-08 15:21:12 +02:00
|
|
|
{{#if display_email}}
|
2017-04-26 04:49:12 +02:00
|
|
|
<td>
|
2020-05-08 15:21:12 +02:00
|
|
|
<span class="email">{{display_email}}</span>
|
2017-04-26 04:49:12 +02:00
|
|
|
</td>
|
2021-11-06 14:33:09 +01:00
|
|
|
{{else}}
|
|
|
|
<td>
|
|
|
|
<span class="hidden-email">{{t "(hidden)"}}</span>
|
|
|
|
</td>
|
2019-06-20 14:58:28 +02:00
|
|
|
{{/if}}
|
2021-11-02 15:53:47 +01:00
|
|
|
<td>
|
|
|
|
<span class="user_id">{{user_id}}</span>
|
|
|
|
</td>
|
|
|
|
{{#unless is_bot}}
|
2018-10-01 14:05:54 +02:00
|
|
|
<td>
|
2021-04-29 15:49:01 +02:00
|
|
|
<span class="user_role">{{user_role_text}}</span>
|
2018-10-01 14:05:54 +02:00
|
|
|
</td>
|
2018-10-30 07:16:45 +01:00
|
|
|
{{/unless}}
|
2017-04-26 04:49:12 +02:00
|
|
|
{{#if is_bot}}
|
|
|
|
<td>
|
2019-11-25 09:08:18 +01:00
|
|
|
<span class="owner">
|
|
|
|
{{#if no_owner }}
|
|
|
|
{{bot_owner_full_name}}
|
|
|
|
{{else}}
|
2020-09-19 14:19:33 +02:00
|
|
|
<a data-user-id="{{bot_owner_id}}" href="#" class="view_user_profile">{{bot_owner_full_name}}</a>
|
2019-11-25 09:08:18 +01:00
|
|
|
{{/if}}
|
|
|
|
</span>
|
2017-04-26 04:49:12 +02:00
|
|
|
</td>
|
2017-06-10 15:29:01 +02:00
|
|
|
<td>
|
|
|
|
<span class="bot type">{{bot_type}}</span>
|
|
|
|
</td>
|
2017-05-05 23:10:58 +02:00
|
|
|
{{else if is_active}}
|
2017-03-26 15:39:12 +02:00
|
|
|
<td class="last_active">
|
2020-05-08 15:21:12 +02:00
|
|
|
{{ last_active_date }}
|
2017-03-26 15:39:12 +02:00
|
|
|
</td>
|
2017-04-26 04:49:12 +02:00
|
|
|
{{/if}}
|
2020-05-08 15:21:12 +02:00
|
|
|
{{#if can_modify}}
|
2019-08-22 10:33:44 +02:00
|
|
|
<td class="actions">
|
2017-04-26 04:49:12 +02:00
|
|
|
<span class="user-status-settings">
|
2021-05-13 12:11:40 +02:00
|
|
|
<button class="button rounded small btn-warning open-user-form" {{#unless is_active}}style="display: none;"{{/unless}} title="{{t 'Edit user' }}" data-user-id="{{user_id}}">
|
|
|
|
<i class="fa fa-pencil" aria-hidden="true"></i>
|
|
|
|
</button>
|
2017-04-26 04:49:12 +02:00
|
|
|
{{#if is_active}}
|
2020-06-06 00:12:52 +02:00
|
|
|
<button title="{{t 'Deactivate' }}" class="button rounded small deactivate btn-danger" {{#if cannot_deactivate}}disabled="disabled"{{/if}}>
|
2020-04-06 07:15:39 +02:00
|
|
|
<i class="fa fa-user-times" aria-hidden="true"></i>
|
2017-04-10 23:25:11 +02:00
|
|
|
</button>
|
2017-04-26 04:49:12 +02:00
|
|
|
{{else}}
|
2020-04-06 07:15:39 +02:00
|
|
|
<button title="{{t 'Reactivate' }}" class="button rounded small reactivate btn-warning">
|
|
|
|
<i class="fa fa-user-plus" aria-hidden="true"></i>
|
2017-04-10 23:25:11 +02:00
|
|
|
</button>
|
2017-04-26 04:49:12 +02:00
|
|
|
{{/if}}
|
|
|
|
</span>
|
2017-04-10 23:25:11 +02:00
|
|
|
</td>
|
2017-04-26 04:49:12 +02:00
|
|
|
{{/if}}
|
2013-08-12 23:31:23 +02:00
|
|
|
</tr>
|