From 7b944c832798fd3431c9d34754f9a8233a6ac190 Mon Sep 17 00:00:00 2001 From: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com> Date: Thu, 3 Mar 2022 08:23:05 -0700 Subject: [PATCH] Reword Copy within "Delete" Modal in Admin Member Detail View (#16755) * Replaces for with of in _delete.html.erb modal copy * Removes strong tags around text for conistency in modal * Adjusts copy within _delete.html.erb --- app/views/admin/users/show/profile/actions/_delete.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/users/show/profile/actions/_delete.html.erb b/app/views/admin/users/show/profile/actions/_delete.html.erb index b11955fce..5e83f5089 100644 --- a/app/views/admin/users/show/profile/actions/_delete.html.erb +++ b/app/views/admin/users/show/profile/actions/_delete.html.erb @@ -2,13 +2,13 @@ <% if current_user.super_admin? %> <%= form_for(@user, url: full_delete_admin_user_path(@user), html: { class: "flex flex-col gap-4", method: :post, onsubmit: "return confirm('Are you sure? This action is irreversible.')", id: nil }) do |f| %>

This action is irreversible.

-

Once deleted, all data for <%= @user.name %> will be removed from our database.

+

Once deleted, all data relating to <%= @user.name %> will be removed from our database.

Be careful with this action.

<% end %> <% else %> -
Only Super Admins are allowed to delete users.
+
Only Super Admins are allowed to delete users.
<% end %>