AA-306: Update twitter hashtag for celebrations (#201)

It's now #myedxjourney instead of #mooc.

Also, fixed the wording of the email share option.
This commit is contained in:
Michael Terry
2020-09-03 11:17:42 -04:00
committed by GitHub
parent 9cbe0b7c8b
commit ddc85f2fd3
2 changed files with 3 additions and 3 deletions

View File

@@ -54,7 +54,7 @@ function SocialIcons({ courseId, intl }) {
<TwitterShareButton
beforeOnClick={() => logClick('twitter')}
className="ml-2"
hashtags={['mooc']}
hashtags={['myedxjourney']}
title={intl.formatMessage(messages.social, { platform: `@${twitterAccount}`, title })}
url={marketingUrl}
>
@@ -73,7 +73,7 @@ function SocialIcons({ courseId, intl }) {
</FacebookShareButton>
<EmailShareButton
beforeOnClick={() => logClick('email')}
body={intl.formatMessage(messages.emailBody)}
body={`${intl.formatMessage(messages.emailBody)}\n\n`}
className="ml-2"
subject={intl.formatMessage(messages.emailSubject, { platform: getConfig().SITE_NAME, title })}
url={marketingUrl}

View File

@@ -20,7 +20,7 @@ const messages = defineMessages({
},
emailSubject: {
id: 'learning.celebration.emailSubject',
defaultMessage: "I'm on my way to completing {title} online with @edxonline!",
defaultMessage: "I'm on my way to completing {title} online with {platform}!",
description: 'Subject when sharing course progress via email',
},
forward: {