mods can use shield glyph as well, don't need two
This commit is contained in:
parent
1ccfb4fa20
commit
553e0290a6
|
@ -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>
|
||||
|
|
|
@ -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}}
|
||||
|
|
|
@ -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}}
|
||||
|
|
|
@ -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>';
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
@ -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'),
|
||||
|
|
Loading…
Reference in New Issue