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>
|
|
|
|
<span class="user_name">{{full_name}}</span>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<span class="email">{{email}}</span>
|
|
|
|
</td>
|
2013-11-16 16:37:07 +01:00
|
|
|
{{#if is_bot}}
|
|
|
|
<td>
|
|
|
|
<span class="email">{{bot_owner}}</span>
|
|
|
|
</td>
|
|
|
|
{{/if}}
|
2013-08-12 23:31:23 +02:00
|
|
|
<td>
|
2013-11-16 17:07:55 +01:00
|
|
|
{{#if is_active}}
|
2013-11-15 22:17:09 +01:00
|
|
|
<button class="btn deactivate btn-danger">
|
2013-08-12 23:31:23 +02:00
|
|
|
Deactivate
|
|
|
|
</button>
|
2013-11-16 17:07:55 +01:00
|
|
|
{{else}}
|
|
|
|
<button class="btn reactivate btn-warning">
|
|
|
|
Reactivate
|
|
|
|
</button>
|
|
|
|
{{/if}}
|
2014-01-14 21:51:09 +01:00
|
|
|
{{#if is_active_human}}
|
|
|
|
{{#if is_admin}}
|
|
|
|
<button class="btn remove-admin btn-danger">
|
|
|
|
Remove admin
|
|
|
|
</button>
|
|
|
|
{{else}}
|
|
|
|
<button class="btn make-admin btn-warning">
|
|
|
|
Make admin
|
|
|
|
</button>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
<div class='admin-user-status'>
|
|
|
|
</div>
|
2013-08-12 23:31:23 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{/with}}
|