A platform for community discussion. Free, open, simple.
UX: show generic message when reloading 'activation email resent' page
Arpit Jalan1381dc603d4d
diff --git a/app/assets/javascripts/discourse/templates/account-created/resent.hbs b/app/assets/javascripts/discourse/templates/account-created/resent.hbsindex 70971b66f04..8647596a048 100644--- a/app/assets/javascripts/discourse/templates/account-created/resent.hbs+++ b/app/assets/javascripts/discourse/templates/account-created/resent.hbs@@ -1,3 +1,7 @@<div class='ac-message'>- {{{i18n 'login.sent_activation_email_again' currentEmail=email}}}+ {{#if email}}+ {{{i18n 'login.sent_activation_email_again' currentEmail=email}}}+ {{else}}+ {{i18n 'login.sent_activation_email_again_generic'}}+ {{/if}}</div>diff --git a/config/locales/client.en.yml b/config/locales/client.en.ymlindex 4a2e0e04f7e..d0b7c06d6ba 100644--- a/config/locales/client.en.yml+++ b/config/locales/client.en.yml@@ -1243,6 +1243,7 @@ en:submit_new_email: "Update Email Address"sent_activation_email_again: "We sent another activation email to you at <b>{{currentEmail}}</b>. It might take a few minutes for it to arrive; be sure to check your spam folder."+ sent_activation_email_again_generic: "We sent another activation email. It might take a few minutes for it to arrive; be sure to check your spam folder."to_continue: "Please Log In"preferences: "You need to be logged in to change your user preferences."forgot: "I don't recall my account details"