mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 23:57:55 -05:00
refactors and changes invite route
This commit is contained in:
parent
0e1ebbcf41
commit
7fd713eb6c
3 changed files with 6 additions and 6 deletions
|
@ -195,8 +195,8 @@ const OnboardingNavigation = ({currentPage, totalDots, onNextPage, onBackPage, n
|
|||
OnboardingNavigation.propTypes = {
|
||||
currentPage: PropTypes.number,
|
||||
totalDots: PropTypes.number,
|
||||
onNextPage: PropTypes.funct,
|
||||
onBackPage: PropTypes.funct,
|
||||
onNextPage: PropTypes.func,
|
||||
onBackPage: PropTypes.func,
|
||||
nextButtonText: PropTypes.string
|
||||
};
|
||||
|
||||
|
@ -485,7 +485,7 @@ const BecomeAScratcher = ({user, invitedScratcher, scratcher, sessionStatus}) =>
|
|||
</Button>
|
||||
<Button
|
||||
onClick={() => {
|
||||
handlePromoteToScratcher(user, nextPage);
|
||||
handlePromoteToScratcher(nextPage);
|
||||
}}
|
||||
>
|
||||
<FormattedMessage id={'becomeAScratcher.buttons.iAgree'} />
|
||||
|
@ -544,7 +544,7 @@ const BecomeAScratcher = ({user, invitedScratcher, scratcher, sessionStatus}) =>
|
|||
<FormattedMessage id={'becomeAScratcher.success.createAProject'} />
|
||||
</a>
|
||||
</div>
|
||||
<a href={hoorayAppear && '/'}>
|
||||
<a href={hoorayAppear ? '/' : null}>
|
||||
<Button>
|
||||
<FormattedMessage id={'becomeAScratcher.buttons.takeMeBack'} />
|
||||
</Button>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
"becomeAScratcher.buttons.backToProfile": "Back to Profile Page",
|
||||
"becomeAScratcher.buttons.finishLater": "Finish Later",
|
||||
"becomeAScratcher.congratulations.header": "Congratulations, {username}! You have shown that you are ready to become a Scratcher.",
|
||||
"becomeAScratcher.congratulations.body": "Scratch is a friendly and welcoming community for everyone, where people create, share, and learn together. We welcome people of all ages, races, ethnicities, religions, abilities, sexual orientations, and gender identities. The next few pages will take you through the community guidelines and explain what this means.",
|
||||
"becomeAScratcher.congratulations.body": "Scratch is a friendly and welcoming community for everyone, where people create, share, and learn together. We welcome people of all ages, races, ethnicities, religions, abilities, sexual orientations, and gender identities.",
|
||||
"becomeAScratcher.toBeAScratcher.header": "What does it mean to be a Scratcher?",
|
||||
"becomeAScratcher.toBeAScratcher.body": "You might notice on your profile page that you are currently a “New Scratcher”. Now that you have spent some time on Scratch, we invite you to become a “Scratcher”.",
|
||||
"becomeAScratcher.toBeAScratcher.bold": "Scratchers have a bit more experience on Scratch and are excited to both contribute to the community and to make it a supportive and welcoming space for others.",
|
||||
|
|
|
@ -30,7 +30,7 @@ const AdminMessage = props => (
|
|||
id="messages.scratcherInvite"
|
||||
values={{
|
||||
learnMore: (
|
||||
<a href={`/users/${props.username}#promote`}>
|
||||
<a href={`/promote-to-scratcher`}>
|
||||
{props.intl.formatMessage({id: 'messages.learnMore'})}
|
||||
</a>
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue