More icons on screened ip addresses page

This commit is contained in:
Neil Lalonde 2013-10-23 12:40:01 -04:00
parent f73a64982a
commit 3db7529ad4
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ Discourse.ScreenedIpAddress = Discourse.Model.extend({
}.property('action'), }.property('action'),
blockIcon: function() { blockIcon: function() {
return 'icon-remove'; return 'icon-ban-circle';
}.property(), }.property(),
doNothingIcon: function() { doNothingIcon: function() {

View File

@ -18,8 +18,8 @@
<div class="col created_at">{{unboundAgeWithTooltip created_at}}</div> <div class="col created_at">{{unboundAgeWithTooltip created_at}}</div>
<div class="col actions"> <div class="col actions">
{{#unless editing}} {{#unless editing}}
<button {{action destroy this}}>{{i18n admin.logs.delete}}</button> <button {{action destroy this}}><i class="icon icon-trash"></i> {{i18n admin.logs.delete}}</button>
<button {{action edit this}}>{{i18n admin.logs.edit}}</button> <button {{action edit this}}><i class="icon icon-pencil"></i> {{i18n admin.logs.edit}}</button>
{{#if isBlocked}} {{#if isBlocked}}
<button {{action allow this}}><i {{bindAttr class=":icon doNothingIcon"}}></i> {{i18n admin.logs.screened_ips.actions.do_nothing}}</button> <button {{action allow this}}><i {{bindAttr class=":icon doNothingIcon"}}></i> {{i18n admin.logs.screened_ips.actions.do_nothing}}</button>
{{else}} {{else}}