Commit b4c61e87 by Douglas Hall Committed by GitHub

Merge pull request #13967 from edx/ibrahimahmed443/WL-785-password-reset-message

make password reset message customizable
parents f85aa477 daf63147
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
this.resetMessage = this.$resetSuccess.find('.message-copy'); this.resetMessage = this.$resetSuccess.find('.message-copy');
successMessage = HtmlUtils.interpolateHtml( successMessage = HtmlUtils.interpolateHtml(
gettext('{paragraphStart}You entered {boldStart}{email}{boldEnd}. If this email address is associated with an edX account, we will send a message with password reset instructions to this email address.{paragraphEnd}' + // eslint-disable-line max-len gettext('{paragraphStart}You entered {boldStart}{email}{boldEnd}. If this email address is associated with your {platform_name} account, we will send a message with password reset instructions to this email address.{paragraphEnd}' + // eslint-disable-line max-len
'{paragraphStart}If you do not receive a password reset message, verify that you entered the correct email address, or check your spam folder.{paragraphEnd}' + // eslint-disable-line max-len '{paragraphStart}If you do not receive a password reset message, verify that you entered the correct email address, or check your spam folder.{paragraphEnd}' + // eslint-disable-line max-len
'{paragraphStart}If you need further assistance, {anchorStart}contact technical support{anchorEnd}.{paragraphEnd}'), { // eslint-disable-line max-len '{paragraphStart}If you need further assistance, {anchorStart}contact technical support{anchorEnd}.{paragraphEnd}'), { // eslint-disable-line max-len
boldStart: HtmlUtils.HTML('<b>'), boldStart: HtmlUtils.HTML('<b>'),
...@@ -100,6 +100,7 @@ ...@@ -100,6 +100,7 @@
paragraphStart: HtmlUtils.HTML('<p>'), paragraphStart: HtmlUtils.HTML('<p>'),
paragraphEnd: HtmlUtils.HTML('</p>'), paragraphEnd: HtmlUtils.HTML('</p>'),
email: email, email: email,
platform_name: this.platformName,
anchorStart: HtmlUtils.HTML('<a href="' + this.supportURL + '">'), anchorStart: HtmlUtils.HTML('<a href="' + this.supportURL + '">'),
anchorEnd: HtmlUtils.HTML('</a>') anchorEnd: HtmlUtils.HTML('</a>')
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment