From 506dd748dac674b27dd0b488667cf7aa465b8401 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Wed, 14 Aug 2013 11:20:00 -0400 Subject: [PATCH] Add warning sign icons to all the delete user buttons --- app/assets/javascripts/admin/models/admin_user.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/admin/models/admin_user.js b/app/assets/javascripts/admin/models/admin_user.js index 31d8eed77..fecb1c779 100644 --- a/app/assets/javascripts/admin/models/admin_user.js +++ b/app/assets/javascripts/admin/models/admin_user.js @@ -248,13 +248,13 @@ Discourse.AdminUser = Discourse.User.extend({ "class": "cancel", "link": true }, { - "label": I18n.t('admin.user.delete_dont_block'), + "label": ' ' + I18n.t('admin.user.delete_dont_block'), "class": "btn", "callback": function(){ performDestroy(false); } }, { - "label": I18n.t('admin.user.delete_and_block'), + "label": ' ' + 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": ' ' + I18n.t("flagging.yes_delete_spammer"), "class": "btn btn-danger", "callback": function() { Discourse.ajax("/admin/users/" + user.get('id') + '.json', {