From 0b295150e7622dcf0fea70a89e1207cb354cde60 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Wed, 30 Sep 2015 16:06:55 -0700 Subject: [PATCH] UX: clearer delete user action buttons --- app/assets/javascripts/admin/models/admin-user.js.es6 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/assets/javascripts/admin/models/admin-user.js.es6 b/app/assets/javascripts/admin/models/admin-user.js.es6 index 7cda05c8202..e8db973a881 100644 --- a/app/assets/javascripts/admin/models/admin-user.js.es6 +++ b/app/assets/javascripts/admin/models/admin-user.js.es6 @@ -387,16 +387,16 @@ const AdminUser = Discourse.User.extend({ const buttons = [{ "label": I18n.t("composer.cancel"), - "class": "cancel", - "link": true - }, { - "label": I18n.t('admin.user.delete_dont_block'), "class": "btn", - "callback": function(){ performDestroy(false); } + "link": true }, { "label": '' + I18n.t('admin.user.delete_and_block'), "class": "btn btn-danger", "callback": function(){ performDestroy(true); } + }, { + "label": I18n.t('admin.user.delete_dont_block'), + "class": "btn btn-primary", + "callback": function(){ performDestroy(false); } }]; bootbox.dialog(message, buttons, { "classes": "delete-user-modal" });