add danger color to delete-and-block button

This commit is contained in:
Jeff Atwood 2014-05-04 00:38:29 -07:00
parent 04c3779985
commit 5dd82bf723

View file

@ -306,7 +306,7 @@ Discourse.AdminUser = Discourse.User.extend({
}
}, {
"label": '<i class="fa fa-exclamation-triangle"></i> ' + I18n.t('admin.user.delete_and_block'),
"class": "btn",
"class": "btn btn-danger",
"callback": function(){
performDestroy(true);
}