mods can use shield glyph as well, don't need two

This commit is contained in:
Jeff Atwood 2014-08-25 22:49:26 -07:00
parent 1ccfb4fa20
commit 553e0290a6
5 changed files with 6 additions and 6 deletions

View File

@ -64,7 +64,7 @@
<td class="value">{{#link-to 'adminUsersList.suspended'}}{{suspended}}{{/link-to}}</td>
</tr>
<tr>
<td class="title"><i class='fa fa-magic'></i> {{i18n admin.dashboard.moderators}}</td>
<td class="title"><i class='fa fa-shield'></i> {{i18n admin.dashboard.moderators}}</td>
<td class="value">{{#link-to 'adminUsersList.moderators'}}{{moderators}}{{/link-to}}</td>
<td class="title"><i class='fa fa-ban'></i> {{i18n admin.dashboard.blocked}}</td>
<td class="value">{{#link-to 'adminUsersList.blocked'}}{{blocked}}{{/link-to}}</td>

View File

@ -218,13 +218,13 @@
<div class='controls'>
{{#if can_revoke_moderation}}
<button class='btn' {{action revokeModeration target="content"}}>
<i class='fa fa-magic'></i>
<i class='fa fa-shield'></i>
{{i18n admin.user.revoke_moderation}}
</button>
{{/if}}
{{#if can_grant_moderation}}
<button class='btn' {{action grantModeration target="content"}}>
<i class='fa fa-magic'></i>
<i class='fa fa-shield'></i>
{{i18n admin.user.grant_moderation}}
</button>
{{/if}}

View File

@ -87,7 +87,7 @@
{{/if}}
<td>
{{#if admin}}<i class="fa fa-shield" title="{{i18n admin.title}}"></i>{{/if}}
{{#if moderator}}<i class="fa fa-magic" title="{{i18n admin.moderator}}"></i>{{/if}}
{{#if moderator}}<i class="fa fa-shield" title="{{i18n admin.moderator}}"></i>{{/if}}
<td>
</tr>
{{/each}}

View File

@ -88,7 +88,7 @@ var PosterNameComponent = Em.Component.extend({
return '<i class="fa fa-shield" title="' + desc + '" alt="' + desc + '"></i>';
} else if(post.get('moderator')) {
desc = I18n.t('user.moderator_tooltip');
return '<i class="fa fa-magic" title="' + desc + '" alt="' + desc + '"></i>';
return '<i class="fa fa-shield" title="' + desc + '" alt="' + desc + '"></i>';
}
}
});

View File

@ -85,7 +85,7 @@ Discourse.User = Discourse.Model.extend({
}
if(this.get('moderator')){
desc = I18n.t('user.moderator', {user: name});
return '<i class="fa fa-magic" title="' + desc + '" alt="' + desc + '"></i>';
return '<i class="fa fa-shield" title="' + desc + '" alt="' + desc + '"></i>';
}
return null;
}.property('admin','moderator'),