2013-11-15 20:34:23 +01:00
|
|
|
{{#with user}}
|
2013-08-12 23:31:23 +02:00
|
|
|
<tr class="user_row" id="user_{{email}}">
|
|
|
|
<td>
|
2014-01-17 20:42:28 +01:00
|
|
|
<span class="user_name">{{full_name}}</span>
|
2013-08-12 23:31:23 +02:00
|
|
|
</td>
|
|
|
|
<td>
|
2014-01-17 20:42:28 +01:00
|
|
|
<span class="email">{{email}}</span>
|
2013-08-12 23:31:23 +02:00
|
|
|
</td>
|
2013-11-16 16:37:07 +01:00
|
|
|
{{#if is_bot}}
|
2014-01-17 20:42:28 +01:00
|
|
|
<td>
|
2015-10-28 17:40:30 +01:00
|
|
|
<span class="owner">{{bot_owner}}</span>
|
2014-01-17 20:42:28 +01:00
|
|
|
</td>
|
2013-11-16 16:37:07 +01:00
|
|
|
{{/if}}
|
2013-08-12 23:31:23 +02:00
|
|
|
<td>
|
2014-01-17 20:42:28 +01:00
|
|
|
{{#if is_active}}
|
2016-09-14 02:20:13 +02:00
|
|
|
<button class="button deactivate btn-danger">
|
2016-05-12 13:53:41 +02:00
|
|
|
{{t "Deactivate" }}
|
2013-08-12 23:31:23 +02:00
|
|
|
</button>
|
2014-01-17 20:42:28 +01:00
|
|
|
{{else}}
|
2016-09-14 02:20:13 +02:00
|
|
|
<button class="button reactivate btn-warning">
|
2016-05-12 13:53:41 +02:00
|
|
|
{{t "Reactivate" }}
|
2013-11-16 17:07:55 +01:00
|
|
|
</button>
|
2014-01-17 20:42:28 +01:00
|
|
|
{{/if}}
|
2014-01-17 20:53:14 +01:00
|
|
|
<span class="user-admin-settings">
|
|
|
|
{{#if is_active_human}}
|
|
|
|
{{#if is_admin}}
|
2016-09-14 02:20:13 +02:00
|
|
|
<button class="button remove-admin btn-danger">
|
2016-05-12 13:53:41 +02:00
|
|
|
{{t "Remove admin" }}
|
2014-01-17 20:53:14 +01:00
|
|
|
</button>
|
|
|
|
{{else}}
|
2016-09-14 02:20:13 +02:00
|
|
|
<button class="button make-admin btn-warning">
|
2016-05-12 13:53:41 +02:00
|
|
|
{{t "Make admin" }}
|
2014-01-17 20:53:14 +01:00
|
|
|
</button>
|
|
|
|
{{/if}}
|
2014-01-17 20:42:28 +01:00
|
|
|
{{/if}}
|
2014-01-17 20:53:14 +01:00
|
|
|
</span>
|
2014-01-17 20:42:28 +01:00
|
|
|
<div class='admin-user-status'>
|
|
|
|
</div>
|
2013-08-12 23:31:23 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{/with}}
|