mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
Add warning sign icons to all the delete user buttons
This commit is contained in:
parent
7cfb583016
commit
506dd748da
1 changed files with 3 additions and 3 deletions
|
@ -248,13 +248,13 @@ Discourse.AdminUser = Discourse.User.extend({
|
|||
"class": "cancel",
|
||||
"link": true
|
||||
}, {
|
||||
"label": I18n.t('admin.user.delete_dont_block'),
|
||||
"label": '<i class="icon icon-warning-sign"></i> ' + I18n.t('admin.user.delete_dont_block'),
|
||||
"class": "btn",
|
||||
"callback": function(){
|
||||
performDestroy(false);
|
||||
}
|
||||
}, {
|
||||
"label": I18n.t('admin.user.delete_and_block'),
|
||||
"label": '<i class="icon icon-warning-sign"></i> ' + I18n.t('admin.user.delete_and_block'),
|
||||
"class": "btn",
|
||||
"callback": function(){
|
||||
performDestroy(true);
|
||||
|
@ -272,7 +272,7 @@ Discourse.AdminUser = Discourse.User.extend({
|
|||
"class": "cancel",
|
||||
"link": true
|
||||
}, {
|
||||
"label": I18n.t("flagging.yes_delete_spammer"),
|
||||
"label": '<i class="icon icon-warning-sign"></i> ' + I18n.t("flagging.yes_delete_spammer"),
|
||||
"class": "btn btn-danger",
|
||||
"callback": function() {
|
||||
Discourse.ajax("/admin/users/" + user.get('id') + '.json', {
|
||||
|
|
Loading…
Reference in a new issue