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">
<tbody>
<tr>
<td class="title"><i class='icon icon-trophy'></i> {{i18n admin.dashboard.moderators}}</td>
<td class="value">{{moderators}}</td>
<td class="title"><i class='icon icon-trophy'></i> {{i18n admin.dashboard.admins}}</td>
<td class="value">{{admins}}</td>
</tr>
<tr>
<td class="title"><i class='icon icon-magic'></i> {{i18n admin.dashboard.admins}}</td>
<td class="value">{{admins}}</td>
<td class="title"><i class='icon icon-magic'></i> {{i18n admin.dashboard.moderators}}</td>
<td class="value">{{moderators}}</td>
</tr>
</tbody>
</table>

View File

@ -72,7 +72,10 @@
{{/if}}
</td>
{{/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>
{{/each}}

View File

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

View File

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

View File

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