diff --git a/app/views/admin/enterprises/form/_users.html.haml b/app/views/admin/enterprises/form/_users.html.haml index eea13440a6..a0b5b7e662 100644 --- a/app/views/admin/enterprises/form/_users.html.haml +++ b/app/views/admin/enterprises/form/_users.html.haml @@ -4,8 +4,7 @@ -if @enterprise.pending_any_confirmation? .alert-box - email = @enterprise.confirmed? ? @enterprise.unconfirmed_email : @enterprise.email - = t('.email_confirmation_text') - %strong= "#{email}." + = t('.email_confirmation_notice_html', {email: "#{email}".html_safe}) = link_to(t('.resend'), main_app.enterprise_confirmation_path(enterprise: { id: @enterprise.id, email: email } ), method: :post) %a.close{ href: "#" } × diff --git a/config/locales/en.yml b/config/locales/en.yml index 1b31b5c054..902d32e35c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -342,7 +342,7 @@ en: add_new_rule: '+ Add A New Rule' add_new_tag: '+ Add A New Tag' users: - email_confirmation_text: Email confirmation is pending.
We've sent a confirmation email to + email_confirmation_notice_html: "Email confirmation is pending. We've sent a confirmation email to %{email}." resend: Resend owner: 'Owner' owner_tip: The primary user responsible for this enterprise.