minor formating for the email templates
Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/99f04a0f Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/99f04a0f Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/99f04a0f Branch: refs/heads/develop Commit: 99f04a0f115003283ba94ccb9785b8fd4e5d9c97 Parents: ff03037 Author: scnakandala <[email protected]> Authored: Fri Apr 28 19:33:59 2017 -0400 Committer: scnakandala <[email protected]> Committed: Fri Apr 28 19:33:59 2017 -0400 ---------------------------------------------------------------------- app/config/email_templates.json | 42 ++++++++++++++++++--------- app/config/email_templates.json.template | 42 ++++++++++++++++++--------- 2 files changed, 56 insertions(+), 28 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/99f04a0f/app/config/email_templates.json ---------------------------------------------------------------------- diff --git a/app/config/email_templates.json b/app/config/email_templates.json index 0420948..b4e7f1f 100644 --- a/app/config/email_templates.json +++ b/app/config/email_templates.json @@ -2,26 +2,40 @@ "account_verification" : { "subject" : "Verify Your Email Account", "body" : [ - "<div><p>", - "Dear $firstName $lastName,<br/>", - "Someone has created a account with this email address. If this was you, click the link below to verify your email address<br/>", - "<a href=\"$url\">$url</a><br/>", - "This link will expire within $validTime minutes.<br/>", - "If you didn't create this account, just ignore this message.", - "</p></div>" + "<div>", + "<p>", + "Dear $firstName $lastName,<br/>", + + "Someone has created a account with this email address. If this was you,", + " click the link below to verify your email address<br/>", + + "<a href=\"$url\">$url</a><br/>", + + "This link will expire within $validTime minutes.<br/>", + + "If you didn't create this account, just ignore this message.", + "</p>", + "</div>" ] }, "password_reset" : { "subject" : "Password Reset Request", "body" : [ - "<div><p>", - "Dear $firstName $lastName,<br/>", - "Someone has initiated a password reset request for the account associated with this email address. If this was you, click the link below to verify it was you.<br/>", - "<a href=\"$url\">$url</a><br/>", - "This link will expire within $validTime minutes.<br/>", - "If you didn't request a password reset, just ignore this message.", - "</p></div>" + "<div>", + "<p>", + "Dear $firstName $lastName,<br/>", + + "Someone has initiated a password reset request for the account associated with this email address.", + " If this was you, click the link below to verify it was you.<br/>", + + "<a href=\"$url\">$url</a><br/>", + + "This link will expire within $validTime minutes.<br/>", + + "If you didn't request a password reset, just ignore this message.", + "</p>", + "</div>" ] } } \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/99f04a0f/app/config/email_templates.json.template ---------------------------------------------------------------------- diff --git a/app/config/email_templates.json.template b/app/config/email_templates.json.template index 7737844..b4e7f1f 100644 --- a/app/config/email_templates.json.template +++ b/app/config/email_templates.json.template @@ -2,26 +2,40 @@ "account_verification" : { "subject" : "Verify Your Email Account", "body" : [ - "<div><p>", - "Dear $firstName $lastName,<br/>", - "Someone has created a account with this email address. If this was you, click the link below to verify your email address<br/>", - "<a href=\"$url\">$url</a><br/>", - "This link will expire within $validTime minutes.<br/>", - "If you didn't create this account, just ignore this message.", - "</p></div>" + "<div>", + "<p>", + "Dear $firstName $lastName,<br/>", + + "Someone has created a account with this email address. If this was you,", + " click the link below to verify your email address<br/>", + + "<a href=\"$url\">$url</a><br/>", + + "This link will expire within $validTime minutes.<br/>", + + "If you didn't create this account, just ignore this message.", + "</p>", + "</div>" ] }, "password_reset" : { "subject" : "Password Reset Request", "body" : [ - "<div><p>", - "Dear $firstName $lastName,<br/>", - "Someone has initiated a password reset request for the account associated with this email address. If this was you, click the link below to verify it was you.<br/>", - "<a href=\"$url\">$url</a><br/>", - "This link will expire within $validTime minutes.<br/>", - "If you didn't request a password reset, just ignore this message.", - "</p></div>" + "<div>", + "<p>", + "Dear $firstName $lastName,<br/>", + + "Someone has initiated a password reset request for the account associated with this email address.", + " If this was you, click the link below to verify it was you.<br/>", + + "<a href=\"$url\">$url</a><br/>", + + "This link will expire within $validTime minutes.<br/>", + + "If you didn't request a password reset, just ignore this message.", + "</p>", + "</div>" ] } } \ No newline at end of file
