More icons on screened ip addresses page
This commit is contained in:
parent
f73a64982a
commit
3db7529ad4
|
@ -25,7 +25,7 @@ Discourse.ScreenedIpAddress = Discourse.Model.extend({
|
|||
}.property('action'),
|
||||
|
||||
blockIcon: function() {
|
||||
return 'icon-remove';
|
||||
return 'icon-ban-circle';
|
||||
}.property(),
|
||||
|
||||
doNothingIcon: function() {
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
<div class="col created_at">{{unboundAgeWithTooltip created_at}}</div>
|
||||
<div class="col actions">
|
||||
{{#unless editing}}
|
||||
<button {{action destroy this}}>{{i18n admin.logs.delete}}</button>
|
||||
<button {{action edit this}}>{{i18n admin.logs.edit}}</button>
|
||||
<button {{action destroy this}}><i class="icon icon-trash"></i> {{i18n admin.logs.delete}}</button>
|
||||
<button {{action edit this}}><i class="icon icon-pencil"></i> {{i18n admin.logs.edit}}</button>
|
||||
{{#if isBlocked}}
|
||||
<button {{action allow this}}><i {{bindAttr class=":icon doNothingIcon"}}></i> {{i18n admin.logs.screened_ips.actions.do_nothing}}</button>
|
||||
{{else}}
|
||||
|
|
Loading…
Reference in New Issue