diff --git a/app/views/admin/users/show/emails/_form.html.erb b/app/views/admin/users/show/emails/_form.html.erb index 408b307a6..e2103156c 100644 --- a/app/views/admin/users/show/emails/_form.html.erb +++ b/app/views/admin/users/show/emails/_form.html.erb @@ -1,10 +1,11 @@

Send an email

+

To: <%= @user.name %> (<%= @user.email %>)

<%= form_with url: send_email_admin_user_path(@user), local: true, class: "grid gap-4 pt-3" do |f| %> <%= f.hidden_field(:user_id, value: @user.id) %>
<%= f.label :email_subject, "Subject", class: "crayons-field__label" %> - <%= f.text_field :email_subject, class: "crayons-textfield", placeholder: "Short and descriptive subject line...", required: true %> + <%= f.text_field :email_subject, class: "crayons-textfield", placeholder: "What do you want to say in the subject line?", required: true %>
diff --git a/app/views/admin/users/show/emails/_index.html.erb b/app/views/admin/users/show/emails/_index.html.erb index 96c47bef7..84d0aae58 100644 --- a/app/views/admin/users/show/emails/_index.html.erb +++ b/app/views/admin/users/show/emails/_index.html.erb @@ -2,8 +2,8 @@

Previous emails (<%= @user.email_messages.count %>)

<% if @user.email_messages.empty? %>
-

📭 No emails found.

-

Any emails sent to <%= @user.email %> can be found here.

+

No previous emails found for <%= @user.name %>.

+

Any emails sent to <%= @user.email %> will be found here.

<% else %>
diff --git a/app/views/admin/users/show/emails/_verification.html.erb b/app/views/admin/users/show/emails/_verification.html.erb index 801469021..ea214d224 100644 --- a/app/views/admin/users/show/emails/_verification.html.erb +++ b/app/views/admin/users/show/emails/_verification.html.erb @@ -1,13 +1,13 @@ <%= form_with url: verify_email_ownership_admin_user_path(@user), local: true, class: "crayons-card mb-4 p-3 m:p-4 s:pl-4 m:pl-7 pr-4 flex flex-col s:flex-row justify-between gap-4 s:items-center" do |f| %> <% unless @last_email_verification_date %>
-

Email not verified...

-

The user's email address, <%= @user.email %>, hasn't been verified yet.

+

Email not verified

+

<%= @user.name %>'s email hasn't been verified yet.

<%= f.button "Verify email address", class: "c-btn c-btn--secondary whitespace-nowrap" %> <% else %>

- Email verified on: + Last verified on