FEATURE: accounts that have not been activated are grey in admin user lists

This commit is contained in:
Neil Lalonde 2014-09-03 10:09:30 -04:00
parent 1792941098
commit ff136ddeea
3 changed files with 13 additions and 2 deletions

View File

@ -57,7 +57,7 @@
</tr>
{{#each model}}
<tr {{bind-attr class="selected"}}>
<tr {{bind-attr class="selected active::not-activated"}}>
{{#if controller.showApproval}}
<td>
{{#if can_approve}}
@ -67,7 +67,11 @@
{{/if}}
<td>{{#link-to 'adminUser' this}}{{avatar this imageSize="small"}}{{/link-to}}</td>
<td>{{#link-to 'adminUser' this}}{{unbound username}}{{/link-to}}</td>
<td>{{shorten email}}</td>
{{#if active}}
<td>{{shorten email}}</td>
{{else}}
<td title="{{i18n admin.users.not_verified}}">{{shorten email}}</td>
{{/if}}
<td>{{{unbound last_emailed_age}}}</td>
<td>{{{unbound last_seen_age}}}</td>
<td>{{{unbound topics_entered}}}</td>

View File

@ -1300,3 +1300,9 @@ and (max-width : 500px) {
}
}
}
tr.not-activated {
td, td a, td a:visited {
color: #bbb;
}
}

View File

@ -1847,6 +1847,7 @@ en:
reject_failures:
one: "Failed to reject 1 user."
other: "Failed to reject %{count} users."
not_verified: "Not verified"
user:
suspend_failed: "Something went wrong suspending this user {{error}}"