Give magic wands to all moderators

This commit is contained in:
Neil Lalonde 2013-04-04 16:14:55 -04:00
parent 4096c6bdc2
commit 66bc48a0e3
5 changed files with 11 additions and 6 deletions

View File

@ -83,12 +83,12 @@
<table class="table table-condensed table-hover"> <table class="table table-condensed table-hover">
<tbody> <tbody>
<tr> <tr>
<td class="title"><i class='icon icon-trophy'></i> {{i18n admin.dashboard.moderators}}</td> <td class="title"><i class='icon icon-trophy'></i> {{i18n admin.dashboard.admins}}</td>
<td class="value">{{moderators}}</td> <td class="value">{{admins}}</td>
</tr> </tr>
<tr> <tr>
<td class="title"><i class='icon icon-magic'></i> {{i18n admin.dashboard.admins}}</td> <td class="title"><i class='icon icon-magic'></i> {{i18n admin.dashboard.moderators}}</td>
<td class="value">{{admins}}</td> <td class="value">{{moderators}}</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View File

@ -72,7 +72,10 @@
{{/if}} {{/if}}
</td> </td>
{{/if}} {{/if}}
<td>{{#if admin}}<i class="icon-trophy" title="{{i18n admin.title}}"></i>{{/if}}<td> <td>
{{#if admin}}<i class="icon-trophy" title="{{i18n admin.title}}"></i>{{/if}}
{{#if moderator}}<i class="icon-magic" title="{{i18n admin.moderator}}"></i>{{/if}}
<td>
</tr> </tr>
{{/each}} {{/each}}

View File

@ -416,7 +416,7 @@ table {
} }
&.totals { &.totals {
width: 160px; width: 185px;
margin-top: 0px; margin-top: 0px;
table td { table td {

View File

@ -3,6 +3,7 @@ class AdminUserSerializer < BasicUserSerializer
attributes :email, attributes :email,
:active, :active,
:admin, :admin,
:moderator,
:last_seen_age, :last_seen_age,
:days_visited, :days_visited,
:last_emailed_age, :last_emailed_age,

View File

@ -787,6 +787,7 @@ en:
admin: admin:
title: 'Discourse Admin' title: 'Discourse Admin'
moderator: 'Moderator'
dashboard: dashboard:
title: "Admin Dashboard" title: "Admin Dashboard"