From be4699fc283a64969985676c184a6fa06c416f41 Mon Sep 17 00:00:00 2001 From: awesomerobot Date: Mon, 11 Apr 2022 20:18:43 -0400 Subject: [PATCH] add classes to danger buttons on user admin --- .../javascripts/admin/addon/templates/user-index.hbs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/admin/addon/templates/user-index.hbs b/app/assets/javascripts/admin/addon/templates/user-index.hbs index c8e3b9dfd8d..643a5bb031c 100644 --- a/app/assets/javascripts/admin/addon/templates/user-index.hbs +++ b/app/assets/javascripts/admin/addon/templates/user-index.hbs @@ -734,7 +734,7 @@ {{#if model.active}} {{#if model.can_impersonate}} {{d-button - class="btn-danger" + class="btn-danger btn-impersonate" action=(action "impersonate") icon="crosshairs" label="admin.impersonate.title" @@ -745,21 +745,21 @@ {{#if model.can_be_anonymized}} {{d-button label="admin.user.anonymize" icon="exclamation-triangle" - class="btn-danger" + class="btn-danger btn-anonymize" action=(action "anonymize")}} {{/if}} {{#if model.canBeDeleted}} {{d-button label="admin.user.delete" icon="trash-alt" - class="btn-danger" + class="btn-danger btn-user-delete" action=(action "destroy")}} {{/if}} {{#if model.can_be_merged}} {{d-button label="admin.user.merge.button" icon="arrows-alt-h" - class="btn-danger" + class="btn-danger btn-user-merge" action=(action "promptTargetUser")}} {{/if}}