mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
replace trophy with shield to indicate admin
This commit is contained in:
parent
de7888cd97
commit
01853fb9d3
5 changed files with 6 additions and 6 deletions
|
@ -58,7 +58,7 @@
|
|||
<div class="dashboard-stats totals">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="title"><i class='fa fa-trophy'></i> {{i18n admin.dashboard.admins}}</td>
|
||||
<td class="title"><i class='fa icon-shield'></i> {{i18n admin.dashboard.admins}}</td>
|
||||
<td class="value">{{#link-to 'adminUsersList.admins'}}{{admins}}{{/link-to}}</td>
|
||||
<td class="title"><i class='fa fa-ban'></i> {{i18n admin.dashboard.suspended}}</td>
|
||||
<td class="value">{{#link-to 'adminUsersList.suspended'}}{{suspended}}{{/link-to}}</td>
|
||||
|
|
|
@ -199,13 +199,13 @@
|
|||
<div class='controls'>
|
||||
{{#if can_revoke_admin}}
|
||||
<button class='btn' {{action revokeAdmin target="content"}}>
|
||||
<i class='fa fa-trophy'></i>
|
||||
<i class='fa icon-shield'></i>
|
||||
{{i18n admin.user.revoke_admin}}
|
||||
</button>
|
||||
{{/if}}
|
||||
{{#if can_grant_admin}}
|
||||
<button class='btn' {{action grantAdmin target="content"}}>
|
||||
<i class='fa fa-trophy'></i>
|
||||
<i class='fa icon-shield'></i>
|
||||
{{i18n admin.user.grant_admin}}
|
||||
</button>
|
||||
{{/if}}
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
</td>
|
||||
{{/if}}
|
||||
<td>
|
||||
{{#if admin}}<i class="fa fa-trophy" title="{{i18n admin.title}}"></i>{{/if}}
|
||||
{{#if admin}}<i class="fa icon-shield" title="{{i18n admin.title}}"></i>{{/if}}
|
||||
{{#if moderator}}<i class="fa fa-magic" title="{{i18n admin.moderator}}"></i>{{/if}}
|
||||
<td>
|
||||
</tr>
|
||||
|
|
|
@ -85,7 +85,7 @@ var PosterNameComponent = Em.Component.extend({
|
|||
|
||||
if(post.get('admin')) {
|
||||
desc = I18n.t('user.admin_tooltip');
|
||||
return '<i class="fa fa-trophy" title="' + desc + '" alt="' + desc + '"></i>';
|
||||
return '<i class="fa icon-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>';
|
||||
|
|
|
@ -81,7 +81,7 @@ Discourse.User = Discourse.Model.extend({
|
|||
|
||||
if(this.get('admin')) {
|
||||
desc = I18n.t('user.admin', {user: name});
|
||||
return '<i class="fa fa-trophy" title="' + desc + '" alt="' + desc + '"></i>';
|
||||
return '<i class="fa icon-shield" title="' + desc + '" alt="' + desc + '"></i>';
|
||||
}
|
||||
if(this.get('moderator')){
|
||||
desc = I18n.t('user.moderator', {user: name});
|
||||
|
|
Loading…
Reference in a new issue