make ban the actual icon-circle-ban, and danger

This commit is contained in:
Jeff Atwood 2013-04-04 02:09:27 -07:00
parent cb9370b00c
commit 02c6f0f631
1 changed files with 4 additions and 4 deletions

View File

@ -109,15 +109,15 @@
<div class='value'>{{content.isBanned}}</div> <div class='value'>{{content.isBanned}}</div>
<div class='controls'> <div class='controls'>
{{#if content.isBanned}} {{#if content.isBanned}}
<button class='btn' {{action unban target="content"}}> <button class='btn btn-danger' {{action unban target="content"}}>
<i class='icon icon-screenshot'></i> <i class='icon icon-ban-circle'></i>
{{i18n admin.user.unban}} {{i18n admin.user.unban}}
</button> </button>
{{content.banDuration}} {{content.banDuration}}
{{else}} {{else}}
{{#if content.canBan}} {{#if content.canBan}}
<button class='btn' {{action ban target="content"}}> <button class='btn btn-danger' {{action ban target="content"}}>
<i class='icon icon-screenshot'></i> <i class='icon icon-ban-circle'></i>
{{i18n admin.user.ban}} {{i18n admin.user.ban}}
</button> </button>
{{/if}} {{/if}}