2013-02-05 14:16:51 -05:00
|
|
|
<section class='details'>
|
|
|
|
<h1>{{i18n admin.user.basics}}</h1>
|
|
|
|
|
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n user.username.title}}</div>
|
|
|
|
<div class='value'>{{content.username}}</div>
|
|
|
|
<div class='controls'>
|
2013-03-14 08:01:52 -04:00
|
|
|
<a href="{{unbound content.path}}" class='btn'>
|
2013-02-05 14:16:51 -05:00
|
|
|
<i class='icon icon-user'></i>
|
|
|
|
{{i18n admin.user.show_public_profile}}
|
2013-03-20 20:25:41 -04:00
|
|
|
</a>
|
2013-02-05 14:16:51 -05:00
|
|
|
{{#if content.can_impersonate}}
|
|
|
|
<button class='btn' {{action impersonate target="content"}}>
|
|
|
|
<i class='icon icon-screenshot'></i>
|
|
|
|
{{i18n admin.user.impersonate}}
|
|
|
|
</button>
|
2013-03-20 20:25:41 -04:00
|
|
|
{{/if}}
|
2013-02-05 14:16:51 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n user.email.title}}</div>
|
|
|
|
<div class='value'><a href="mailto:{{unbound content.email}}">{{content.email}}</a></div>
|
|
|
|
</div>
|
|
|
|
<div class='display-row' style='height: 50px'>
|
|
|
|
<div class='field'>{{i18n user.avatar.title}}</div>
|
|
|
|
<div class='value'>{{avatar content imageSize="large"}}</div>
|
|
|
|
</div>
|
|
|
|
<div class='display-row' style='height: 50px'>
|
|
|
|
<div class='field'>{{i18n user.ip_address.title}}</div>
|
|
|
|
<div class='value'>{{content.ip_address}}</div>
|
|
|
|
<div class='controls'>
|
|
|
|
<button class='btn' {{action refreshBrowsers target="content"}}>
|
|
|
|
{{i18n admin.user.refresh_browsers}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
<section class='details'>
|
|
|
|
<h1>{{i18n admin.user.permissions}}</h1>
|
|
|
|
|
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n admin.users.approved}}</div>
|
|
|
|
<div class='value'>
|
|
|
|
{{#if content.approved}}
|
2013-03-20 20:25:41 -04:00
|
|
|
{{i18n admin.user.approved_by}}
|
2013-03-14 08:01:52 -04:00
|
|
|
<a href="{{unbound content.approved_by.adminPath}}">{{avatar approved_by imageSize="small"}}</a>
|
|
|
|
<a href="{{unbound adminPath}}">{{content.approved_by.username}}</a>
|
2013-02-05 14:16:51 -05:00
|
|
|
{{else}}
|
|
|
|
{{i18n no_value}}
|
|
|
|
{{/if}}
|
2013-03-20 20:25:41 -04:00
|
|
|
|
2013-02-05 14:16:51 -05:00
|
|
|
</div>
|
|
|
|
<div class='controls'>
|
2013-03-20 20:25:41 -04:00
|
|
|
{{#if content.can_approve}}
|
2013-02-05 14:16:51 -05:00
|
|
|
<button class='btn' {{action approve target="content"}}>
|
|
|
|
<i class='icon icon-ok'></i>
|
|
|
|
{{i18n admin.user.approve}}
|
|
|
|
</button>
|
2013-03-20 20:25:41 -04:00
|
|
|
{{/if}}
|
2013-02-05 14:16:51 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n admin.user.admin}}</div>
|
|
|
|
<div class='value'>{{content.admin}}</div>
|
|
|
|
<div class='controls'>
|
2013-03-20 20:25:41 -04:00
|
|
|
{{#if content.can_revoke_admin}}
|
2013-02-05 14:16:51 -05:00
|
|
|
<button class='btn' {{action revokeAdmin target="content"}}>
|
|
|
|
<i class='icon icon-trophy'></i>
|
|
|
|
{{i18n admin.user.revoke_admin}}
|
|
|
|
</button>
|
|
|
|
{{/if}}
|
|
|
|
{{#if content.can_grant_admin}}
|
|
|
|
<button class='btn' {{action grantAdmin target="content"}}>
|
|
|
|
<i class='icon icon-trophy'></i>
|
|
|
|
{{i18n admin.user.grant_admin}}
|
|
|
|
</button>
|
2013-03-20 20:25:41 -04:00
|
|
|
{{/if}}
|
2013-02-05 14:16:51 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n admin.user.moderator}}</div>
|
|
|
|
<div class='value'>{{content.moderator}}</div>
|
2013-02-12 17:58:08 -05:00
|
|
|
<div class='controls'>
|
2013-03-20 20:25:41 -04:00
|
|
|
{{#if content.can_revoke_moderation}}
|
2013-02-12 17:58:08 -05:00
|
|
|
<button class='btn' {{action revokeModeration target="content"}}>
|
2013-04-04 04:52:47 -04:00
|
|
|
<i class='icon icon-magic'></i>
|
2013-02-12 17:58:08 -05:00
|
|
|
{{i18n admin.user.revoke_moderation}}
|
|
|
|
</button>
|
|
|
|
{{/if}}
|
|
|
|
{{#if content.can_grant_moderation}}
|
|
|
|
<button class='btn' {{action grantModeration target="content"}}>
|
2013-04-04 04:52:47 -04:00
|
|
|
<i class='icon icon-magic'></i>
|
2013-02-12 17:58:08 -05:00
|
|
|
{{i18n admin.user.grant_moderation}}
|
|
|
|
</button>
|
2013-03-20 20:25:41 -04:00
|
|
|
{{/if}}
|
2013-02-12 17:58:08 -05:00
|
|
|
</div>
|
2013-03-20 20:25:41 -04:00
|
|
|
|
2013-02-05 14:16:51 -05:00
|
|
|
</div>
|
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n trust_level}}</div>
|
|
|
|
<div class='value'>{{content.trustLevel.name}}</div>
|
2013-03-20 20:25:41 -04:00
|
|
|
</div>
|
2013-02-05 14:16:51 -05:00
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n admin.user.banned}}</div>
|
2013-03-20 20:25:41 -04:00
|
|
|
<div class='value'>{{content.isBanned}}</div>
|
2013-02-05 14:16:51 -05:00
|
|
|
<div class='controls'>
|
2013-03-20 20:25:41 -04:00
|
|
|
{{#if content.isBanned}}
|
2013-04-04 05:09:27 -04:00
|
|
|
<button class='btn btn-danger' {{action unban target="content"}}>
|
|
|
|
<i class='icon icon-ban-circle'></i>
|
2013-03-20 20:25:41 -04:00
|
|
|
{{i18n admin.user.unban}}
|
|
|
|
</button>
|
|
|
|
{{content.banDuration}}
|
2013-02-05 14:16:51 -05:00
|
|
|
{{else}}
|
|
|
|
{{#if content.canBan}}
|
2013-04-04 05:09:27 -04:00
|
|
|
<button class='btn btn-danger' {{action ban target="content"}}>
|
|
|
|
<i class='icon icon-ban-circle'></i>
|
2013-02-05 14:16:51 -05:00
|
|
|
{{i18n admin.user.ban}}
|
|
|
|
</button>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2013-03-20 20:25:41 -04:00
|
|
|
</div>
|
2013-02-05 14:16:51 -05:00
|
|
|
</section>
|
|
|
|
|
|
|
|
<section class='details'>
|
|
|
|
<h1>{{i18n admin.user.activity}}</h1>
|
|
|
|
|
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n created}}</div>
|
|
|
|
<div class='value'>{{{content.created_at_age}}}</div>
|
|
|
|
</div>
|
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n admin.users.last_emailed}}</div>
|
|
|
|
<div class='value'>{{{content.last_emailed_age}}}</div>
|
|
|
|
</div>
|
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n last_seen}}</div>
|
|
|
|
<div class='value'>{{{content.last_seen_age}}}</div>
|
|
|
|
</div>
|
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n admin.user.like_count}}</div>
|
|
|
|
<div class='value'>{{content.like_count}}</div>
|
|
|
|
</div>
|
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n admin.user.topics_entered}}</div>
|
|
|
|
<div class='value'>{{content.topics_entered}}</div>
|
2013-03-20 20:25:41 -04:00
|
|
|
</div>
|
2013-02-05 14:16:51 -05:00
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n admin.user.post_count}}</div>
|
|
|
|
<div class='value'>{{content.post_count}}</div>
|
2013-02-07 02:11:56 -05:00
|
|
|
<div class='controls'>
|
|
|
|
{{#if content.can_delete_all_posts}}
|
2013-02-15 04:45:37 -05:00
|
|
|
<button class='btn btn-danger' {{action deleteAllPosts target="content"}}>
|
2013-02-07 02:11:56 -05:00
|
|
|
<i class='icon icon-trash'></i>
|
|
|
|
{{i18n admin.user.delete_all_posts}}
|
|
|
|
</button>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2013-02-05 14:16:51 -05:00
|
|
|
</div>
|
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n admin.user.posts_read_count}}</div>
|
|
|
|
<div class='value'>{{content.posts_read_count}}</div>
|
2013-03-20 20:25:41 -04:00
|
|
|
</div>
|
2013-02-05 14:16:51 -05:00
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n admin.user.flags_given_count}}</div>
|
|
|
|
<div class='value'>{{content.flags_given_count}}</div>
|
2013-03-20 20:25:41 -04:00
|
|
|
</div>
|
2013-02-05 14:16:51 -05:00
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n admin.user.flags_received_count}}</div>
|
|
|
|
<div class='value'>{{content.flags_received_count}}</div>
|
2013-03-20 20:25:41 -04:00
|
|
|
</div>
|
2013-02-05 14:16:51 -05:00
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n admin.user.private_topics_count}}</div>
|
|
|
|
<div class='value'>{{content.private_topics_count}}</div>
|
|
|
|
</div>
|
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n admin.user.time_read}}</div>
|
|
|
|
<div class='value'>{{{content.time_read}}}</div>
|
2013-03-20 20:25:41 -04:00
|
|
|
</div>
|
2013-02-05 14:16:51 -05:00
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n user.invited.days_visited}}</div>
|
|
|
|
<div class='value'>{{{content.days_visited}}}</div>
|
2013-03-20 20:25:41 -04:00
|
|
|
</div>
|
2013-02-05 14:16:51 -05:00
|
|
|
</section>
|
|
|
|
|