2013-02-05 14:16:51 -05:00
|
|
|
<section class='details'>
|
|
|
|
|
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n user.username.title}}</div>
|
2013-05-20 15:27:58 -04:00
|
|
|
<div class='value'>{{username}}</div>
|
2013-02-05 14:16:51 -05:00
|
|
|
<div class='controls'>
|
2014-06-03 10:47:21 -04:00
|
|
|
{{#link-to 'user' model class="btn"}}
|
2013-12-09 16:27:49 -05:00
|
|
|
<i class='fa fa-user'></i>
|
2013-02-05 14:16:51 -05:00
|
|
|
{{i18n admin.user.show_public_profile}}
|
2013-09-16 14:08:55 -04:00
|
|
|
{{/link-to}}
|
2013-05-20 15:27:58 -04:00
|
|
|
{{#if can_impersonate}}
|
2013-02-05 14:16:51 -05:00
|
|
|
<button class='btn' {{action impersonate target="content"}}>
|
2013-12-09 16:27:49 -05:00
|
|
|
<i class='fa fa-crosshairs'></i>
|
2013-02-05 14:16:51 -05:00
|
|
|
{{i18n admin.user.impersonate}}
|
|
|
|
</button>
|
2013-03-20 20:25:41 -04:00
|
|
|
{{/if}}
|
2014-06-05 23:02:52 -04:00
|
|
|
{{#if currentUser.admin}}
|
|
|
|
<button class='btn' {{action log_out target="content"}}>
|
|
|
|
<i class='fa fa-power-off'></i>
|
|
|
|
{{i18n admin.user.log_out}}
|
|
|
|
</button>
|
|
|
|
{{/if}}
|
2013-02-05 14:16:51 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-04-20 01:34:11 -04:00
|
|
|
|
2013-02-05 14:16:51 -05:00
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n user.email.title}}</div>
|
2013-05-20 15:27:58 -04:00
|
|
|
<div class='value'><a href="mailto:{{unbound email}}">{{email}}</a></div>
|
2013-02-05 14:16:51 -05:00
|
|
|
</div>
|
2013-04-20 01:34:11 -04:00
|
|
|
|
2013-11-11 15:03:17 -05:00
|
|
|
<div class='display-row'>
|
2013-02-05 14:16:51 -05:00
|
|
|
<div class='field'>{{i18n user.avatar.title}}</div>
|
|
|
|
<div class='value'>{{avatar content imageSize="large"}}</div>
|
|
|
|
</div>
|
2013-04-20 01:34:11 -04:00
|
|
|
|
2013-06-25 18:39:20 -04:00
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n user.title.title}}</div>
|
|
|
|
<div class='value'>
|
|
|
|
{{#if editingTitle}}
|
2014-06-10 11:54:38 -04:00
|
|
|
{{text-field value=title autofocus="autofocus"}}
|
2013-06-25 18:39:20 -04:00
|
|
|
{{else}}
|
|
|
|
<span {{action toggleTitleEdit}}>{{title}} </span>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class='controls'>
|
|
|
|
{{#if editingTitle}}
|
|
|
|
<button class='btn' {{action saveTitle}}>{{i18n admin.user.save_title}}</button>
|
2013-10-22 11:21:12 -04:00
|
|
|
<a href="#" {{action toggleTitleEdit}}>{{i18n cancel}}</a>
|
2013-06-25 18:39:20 -04:00
|
|
|
{{else}}
|
2014-05-17 04:46:39 -04:00
|
|
|
<button class='btn' {{action toggleTitleEdit}}><i class="fa fa-pencil"></i>{{i18n admin.user.edit_title}}</button>
|
2013-06-25 18:39:20 -04:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2014-02-10 16:59:36 -05:00
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n admin.groups.primary}}</div>
|
|
|
|
<div class='value'>
|
|
|
|
{{#if custom_groups}}
|
2014-06-11 10:57:30 -04:00
|
|
|
{{combo-box content=custom_groups value=primary_group_id nameProperty="name" none="admin.groups.no_primary"}}
|
2014-02-10 16:59:36 -05:00
|
|
|
{{else}}
|
|
|
|
—
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class='controls'>
|
|
|
|
{{#if primaryGroupDirty}}
|
|
|
|
<div>
|
2014-03-30 02:28:04 -04:00
|
|
|
<button class='btn ok no-text' {{action savePrimaryGroup}}><i class='fa fa-check'></i></button>
|
|
|
|
<button class='btn cancel no-text' {{action resetPrimaryGroup}}><i class='fa fa-times'></i></button>
|
2014-02-10 16:59:36 -05:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2013-11-11 15:03:17 -05:00
|
|
|
<div class='display-row'>
|
2013-02-05 14:16:51 -05:00
|
|
|
<div class='field'>{{i18n user.ip_address.title}}</div>
|
2013-05-20 15:27:58 -04:00
|
|
|
<div class='value'>{{ip_address}}</div>
|
2013-02-05 14:16:51 -05:00
|
|
|
<div class='controls'>
|
2013-05-28 11:52:31 -04:00
|
|
|
{{#if currentUser.admin}}
|
2013-02-05 14:16:51 -05:00
|
|
|
<button class='btn' {{action refreshBrowsers target="content"}}>
|
|
|
|
{{i18n admin.user.refresh_browsers}}
|
|
|
|
</button>
|
2013-05-02 01:15:17 -04:00
|
|
|
{{/if}}
|
2013-02-05 14:16:51 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-04-20 01:34:11 -04:00
|
|
|
|
2014-04-29 14:37:56 -04:00
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n user.registration_ip_address.title}}</div>
|
|
|
|
<div class='value'>{{registration_ip_address}}</div>
|
|
|
|
<div class='controls'></div>
|
|
|
|
</div>
|
|
|
|
|
2014-03-19 10:27:21 -04:00
|
|
|
{{#if showBadges}}
|
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n admin.badges.title}}</div>
|
|
|
|
<div class='value'>
|
2014-04-16 06:22:21 -04:00
|
|
|
{{i18n badges.badge_count count=badge_count}}
|
2014-03-19 10:27:21 -04:00
|
|
|
</div>
|
|
|
|
<div class='controls'>
|
|
|
|
{{#link-to 'adminUser.badges' this class="btn"}}{{i18n admin.badges.edit_badges}}{{/link-to}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2013-02-05 14:16:51 -05:00
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
<section class='details'>
|
|
|
|
<h1>{{i18n admin.user.permissions}}</h1>
|
|
|
|
|
2013-09-09 12:21:47 -04:00
|
|
|
{{#if showApproval}}
|
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n admin.users.approved}}</div>
|
|
|
|
<div class='value'>
|
|
|
|
{{#if approved}}
|
|
|
|
{{i18n admin.user.approved_by}}
|
2013-05-07 13:30:12 -04:00
|
|
|
|
2014-03-24 11:43:06 -04:00
|
|
|
{{#link-to 'adminUser' approvedBy}}{{avatar approvedBy imageSize="small"}}{{/link-to}}
|
|
|
|
{{#link-to 'adminUser' approvedBy}}{{approvedBy.username}}{{/link-to}}
|
2013-09-09 12:21:47 -04:00
|
|
|
{{else}}
|
|
|
|
{{i18n no_value}}
|
|
|
|
{{/if}}
|
2013-03-20 20:25:41 -04:00
|
|
|
|
2013-09-09 12:21:47 -04:00
|
|
|
</div>
|
|
|
|
<div class='controls'>
|
|
|
|
{{#if approved}}
|
|
|
|
{{i18n admin.user.approve_success}}
|
|
|
|
{{else}}
|
|
|
|
{{#if can_approve}}
|
|
|
|
<button class='btn' {{action approve target="content"}}>
|
2013-12-09 16:27:49 -05:00
|
|
|
<i class='fa fa-check'></i>
|
2013-09-09 12:21:47 -04:00
|
|
|
{{i18n admin.user.approve}}
|
|
|
|
</button>
|
|
|
|
{{/if}}
|
2013-06-06 00:18:22 -04:00
|
|
|
{{/if}}
|
2013-09-09 12:21:47 -04:00
|
|
|
</div>
|
2013-02-05 14:16:51 -05:00
|
|
|
</div>
|
2013-09-09 12:21:47 -04:00
|
|
|
{{/if}}
|
2013-02-05 14:16:51 -05:00
|
|
|
|
2013-05-07 21:58:34 -04:00
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n admin.users.active}}</div>
|
|
|
|
<div class='value'>
|
2013-05-20 15:27:58 -04:00
|
|
|
{{#if active}}
|
2013-05-07 21:58:34 -04:00
|
|
|
{{i18n yes_value}}
|
|
|
|
{{else}}
|
|
|
|
{{i18n no_value}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class='controls'>
|
2013-05-20 15:27:58 -04:00
|
|
|
{{#if active}}
|
|
|
|
{{#if can_deactivate}}
|
2013-05-07 21:58:34 -04:00
|
|
|
<button class='btn' {{action deactivate target="content"}}>{{i18n admin.user.deactivate_account}}</button>
|
2013-06-14 11:34:03 -04:00
|
|
|
{{i18n admin.user.deactivate_explanation}}
|
2013-05-07 21:58:34 -04:00
|
|
|
{{/if}}
|
|
|
|
{{else}}
|
2013-05-20 15:27:58 -04:00
|
|
|
{{#if can_send_activation_email}}
|
2013-05-07 21:58:34 -04:00
|
|
|
<button class='btn' {{action sendActivationEmail target="content"}}>
|
2013-12-09 16:27:49 -05:00
|
|
|
<i class='fa fa-envelope'></i>
|
2013-05-07 21:58:34 -04:00
|
|
|
{{i18n admin.user.send_activation_email}}
|
|
|
|
</button>
|
|
|
|
{{/if}}
|
2013-05-20 15:27:58 -04:00
|
|
|
{{#if can_activate}}
|
2013-05-07 21:58:34 -04:00
|
|
|
<button class='btn' {{action activate target="content"}}>
|
2013-12-09 16:27:49 -05:00
|
|
|
<i class='fa fa-check'></i>
|
2013-05-07 21:58:34 -04:00
|
|
|
{{i18n admin.user.activate}}
|
|
|
|
</button>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2013-10-22 15:53:08 -04:00
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n admin.api.key}}</div>
|
|
|
|
|
|
|
|
{{#if api_key}}
|
|
|
|
<div class='long-value'>
|
|
|
|
{{api_key.key}}
|
2014-05-17 04:02:30 -04:00
|
|
|
<button class='btn' {{action regenerateApiKey}}><i class="fa fa-undo"></i>{{i18n admin.api.regenerate}}</button>
|
|
|
|
<button {{action revokeApiKey}} class="btn"><i class="fa fa-times"></i>{{i18n admin.api.revoke}}</button>
|
2013-10-22 15:53:08 -04:00
|
|
|
</div>
|
|
|
|
{{else}}
|
|
|
|
<div class='value'>
|
|
|
|
—
|
|
|
|
</div>
|
|
|
|
<div class='controls'>
|
2014-05-17 04:02:30 -04:00
|
|
|
<button {{action generateApiKey}} class="btn"><i class="fa fa-key"></i>{{i18n admin.api.generate}}</button>
|
2013-10-22 15:53:08 -04:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
|
2013-02-05 14:16:51 -05:00
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n admin.user.admin}}</div>
|
2013-05-20 15:27:58 -04:00
|
|
|
<div class='value'>{{admin}}</div>
|
2013-02-05 14:16:51 -05:00
|
|
|
<div class='controls'>
|
2013-05-20 15:27:58 -04:00
|
|
|
{{#if can_revoke_admin}}
|
2013-02-05 14:16:51 -05:00
|
|
|
<button class='btn' {{action revokeAdmin target="content"}}>
|
2013-12-09 16:27:49 -05:00
|
|
|
<i class='fa fa-trophy'></i>
|
2013-02-05 14:16:51 -05:00
|
|
|
{{i18n admin.user.revoke_admin}}
|
|
|
|
</button>
|
|
|
|
{{/if}}
|
2013-05-20 15:27:58 -04:00
|
|
|
{{#if can_grant_admin}}
|
2013-02-05 14:16:51 -05:00
|
|
|
<button class='btn' {{action grantAdmin target="content"}}>
|
2013-12-09 16:27:49 -05:00
|
|
|
<i class='fa fa-trophy'></i>
|
2013-02-05 14:16:51 -05:00
|
|
|
{{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>
|
2013-05-20 15:27:58 -04:00
|
|
|
<div class='value'>{{moderator}}</div>
|
2013-02-12 17:58:08 -05:00
|
|
|
<div class='controls'>
|
2013-05-20 15:27:58 -04:00
|
|
|
{{#if can_revoke_moderation}}
|
2013-02-12 17:58:08 -05:00
|
|
|
<button class='btn' {{action revokeModeration target="content"}}>
|
2013-12-09 16:27:49 -05:00
|
|
|
<i class='fa fa-magic'></i>
|
2013-02-12 17:58:08 -05:00
|
|
|
{{i18n admin.user.revoke_moderation}}
|
|
|
|
</button>
|
|
|
|
{{/if}}
|
2013-05-20 15:27:58 -04:00
|
|
|
{{#if can_grant_moderation}}
|
2013-02-12 17:58:08 -05:00
|
|
|
<button class='btn' {{action grantModeration target="content"}}>
|
2013-12-09 16:27:49 -05:00
|
|
|
<i class='fa fa-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>
|
2013-07-01 10:22:21 -04:00
|
|
|
|
2013-02-05 14:16:51 -05:00
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n trust_level}}</div>
|
2013-07-01 10:22:21 -04:00
|
|
|
<div class="value">
|
2014-06-11 10:57:30 -04:00
|
|
|
{{combo-box content=trustLevels value=trust_level nameProperty="detailedName"}}
|
2013-07-01 10:22:21 -04:00
|
|
|
</div>
|
|
|
|
<div class="controls">
|
2014-01-23 16:40:10 -05:00
|
|
|
{{#if leaderRequirements}}
|
2014-01-22 17:09:56 -05:00
|
|
|
{{#link-to 'adminUser.leaderRequirements' this class="btn"}}{{i18n admin.user.trust_level_3_requirements}}{{/link-to}}
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{#if dirty}}
|
|
|
|
<div>
|
2014-03-30 02:28:04 -04:00
|
|
|
<button class='btn ok no-text' {{action saveTrustLevel target="content"}}><i class='fa fa-check'></i></button>
|
|
|
|
<button class='btn cancel no-text' {{action restoreTrustLevel target="content"}}><i class='fa fa-times'></i></button>
|
2014-01-22 17:09:56 -05:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
2013-07-01 10:22:21 -04:00
|
|
|
</div>
|
2013-03-20 20:25:41 -04:00
|
|
|
</div>
|
2013-07-01 10:22:21 -04:00
|
|
|
|
2014-01-14 12:48:57 -05:00
|
|
|
<div {{bind-attr class=":display-row isSuspended:highlight-danger"}}>
|
2013-11-07 13:53:32 -05:00
|
|
|
<div class='field'>{{i18n admin.user.suspended}}</div>
|
|
|
|
<div class='value'>{{isSuspended}}</div>
|
2013-02-05 14:16:51 -05:00
|
|
|
<div class='controls'>
|
2013-11-07 13:53:32 -05:00
|
|
|
{{#if isSuspended}}
|
|
|
|
<button class='btn btn-danger' {{action unsuspend target="content"}}>
|
2013-12-09 16:27:49 -05:00
|
|
|
<i class='fa fa-ban'></i>
|
2013-11-07 13:53:32 -05:00
|
|
|
{{i18n admin.user.unsuspend}}
|
2013-03-20 20:25:41 -04:00
|
|
|
</button>
|
2013-11-07 13:53:32 -05:00
|
|
|
{{suspendDuration}}
|
|
|
|
{{i18n admin.user.suspended_explanation}}
|
2013-02-05 14:16:51 -05:00
|
|
|
{{else}}
|
2013-11-07 13:53:32 -05:00
|
|
|
{{#if canSuspend}}
|
|
|
|
<button class='btn btn-danger' {{action showSuspendModal this}}>
|
2013-12-09 16:27:49 -05:00
|
|
|
<i class='fa fa-ban'></i>
|
2013-11-07 13:53:32 -05:00
|
|
|
{{i18n admin.user.suspend}}
|
2013-02-05 14:16:51 -05:00
|
|
|
</button>
|
2013-11-07 13:53:32 -05:00
|
|
|
{{i18n admin.user.suspended_explanation}}
|
2013-02-05 14:16:51 -05:00
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2013-03-20 20:25:41 -04:00
|
|
|
</div>
|
2013-11-01 10:47:03 -04:00
|
|
|
|
2013-11-07 13:53:32 -05:00
|
|
|
{{#if isSuspended}}
|
2013-11-05 14:41:04 -05:00
|
|
|
<div class='display-row highlight-danger'>
|
2013-11-07 13:53:32 -05:00
|
|
|
<div class='field'>{{i18n admin.user.suspended_by}}</div>
|
2013-11-05 14:41:04 -05:00
|
|
|
<div class='value'>
|
2014-03-24 10:19:15 -04:00
|
|
|
{{#link-to 'adminUser' suspendedBy}}{{avatar suspendedBy imageSize="tiny"}}{{/link-to}}
|
|
|
|
{{#link-to 'adminUser' suspendedBy}}{{suspendedBy.username}}{{/link-to}}
|
2013-11-01 10:47:03 -04:00
|
|
|
</div>
|
2013-11-05 14:41:04 -05:00
|
|
|
<div class='controls'>
|
2013-11-07 13:53:32 -05:00
|
|
|
<b>{{i18n admin.user.suspend_reason}}</b>:
|
|
|
|
{{suspend_reason}}
|
2013-11-05 14:41:04 -05:00
|
|
|
</div>
|
2013-11-01 10:47:03 -04:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2014-01-14 12:48:57 -05:00
|
|
|
<div class='display-row' {{bind-attr class=":display-row blocked:highlight-danger"}}>
|
2013-05-31 11:41:40 -04:00
|
|
|
<div class='field'>{{i18n admin.user.blocked}}</div>
|
|
|
|
<div class='value'>{{blocked}}</div>
|
|
|
|
<div class='controls'>
|
|
|
|
{{#if blocked}}
|
|
|
|
<button class='btn' {{action unblock target="content"}}>
|
2013-12-09 16:27:49 -05:00
|
|
|
<i class='fa fa-thumbs-o-up'></i>
|
2013-05-31 11:41:40 -04:00
|
|
|
{{i18n admin.user.unblock}}
|
|
|
|
</button>
|
2013-07-02 14:42:30 -04:00
|
|
|
{{i18n admin.user.block_explanation}}
|
2013-05-31 11:41:40 -04:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</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>
|
2013-05-20 15:27:58 -04:00
|
|
|
<div class='value'>{{{created_at_age}}}</div>
|
2013-02-05 14:16:51 -05:00
|
|
|
</div>
|
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n admin.users.last_emailed}}</div>
|
2013-05-20 15:27:58 -04:00
|
|
|
<div class='value'>{{{last_emailed_age}}}</div>
|
2013-02-05 14:16:51 -05:00
|
|
|
</div>
|
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n last_seen}}</div>
|
2013-05-20 15:27:58 -04:00
|
|
|
<div class='value'>{{{last_seen_age}}}</div>
|
2013-02-05 14:16:51 -05:00
|
|
|
</div>
|
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n admin.user.like_count}}</div>
|
2013-05-20 15:27:58 -04:00
|
|
|
<div class='value'>{{like_count}}</div>
|
2013-02-05 14:16:51 -05:00
|
|
|
</div>
|
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n admin.user.topics_entered}}</div>
|
2013-05-20 15:27:58 -04:00
|
|
|
<div class='value'>{{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>
|
2013-05-20 15:27:58 -04:00
|
|
|
<div class='value'>{{post_count}}</div>
|
2013-02-07 02:11:56 -05:00
|
|
|
<div class='controls'>
|
2013-05-20 15:27:58 -04:00
|
|
|
{{#if can_delete_all_posts}}
|
2013-02-15 04:45:37 -05:00
|
|
|
<button class='btn btn-danger' {{action deleteAllPosts target="content"}}>
|
2013-12-09 16:27:49 -05:00
|
|
|
<i class='fa fa-trash-o'></i>
|
2013-02-07 02:11:56 -05:00
|
|
|
{{i18n admin.user.delete_all_posts}}
|
|
|
|
</button>
|
2014-02-20 12:29:40 -05:00
|
|
|
{{else}}
|
|
|
|
{{deleteAllPostsExplanation}}
|
2013-02-07 02:11:56 -05:00
|
|
|
{{/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>
|
2013-05-20 15:27:58 -04:00
|
|
|
<div class='value'>{{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>
|
2013-05-20 15:27:58 -04:00
|
|
|
<div class='value'>{{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>
|
2013-05-20 15:27:58 -04:00
|
|
|
<div class='value'>{{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>
|
2013-05-20 15:27:58 -04:00
|
|
|
<div class='value'>{{private_topics_count}}</div>
|
2013-02-05 14:16:51 -05:00
|
|
|
</div>
|
|
|
|
<div class='display-row'>
|
|
|
|
<div class='field'>{{i18n admin.user.time_read}}</div>
|
2013-05-20 15:27:58 -04:00
|
|
|
<div class='value'>{{{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>
|
2013-05-20 15:27:58 -04:00
|
|
|
<div class='value'>{{{days_visited}}}</div>
|
2013-03-20 20:25:41 -04:00
|
|
|
</div>
|
2013-02-05 14:16:51 -05:00
|
|
|
</section>
|
|
|
|
|
2013-04-11 16:04:20 -04:00
|
|
|
<section>
|
|
|
|
<hr/>
|
2014-02-10 16:59:36 -05:00
|
|
|
<button {{bind-attr class=":btn :btn-danger :pull-right deleteForbidden:hidden"}} {{action destroy target="content"}} {{bind-attr disabled="deleteForbidden"}}>
|
2013-12-09 16:27:49 -05:00
|
|
|
<i class="fa fa-exclamation-triangle"></i>
|
2013-04-11 16:04:20 -04:00
|
|
|
{{i18n admin.user.delete}}
|
|
|
|
</button>
|
2013-12-20 11:36:43 -05:00
|
|
|
{{#if deleteExplanation}}
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
<div class="pull-right"><i class="fa fa-exclamation-triangle"></i> {{deleteExplanation}}</div>
|
|
|
|
{{/if}}
|
2013-04-11 16:04:20 -04:00
|
|
|
</section>
|
|
|
|
<div class="clearfix"></div>
|