Skip to content

Commit

Permalink
fix(Coinify): signup copy corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Welber committed Jun 5, 2018
1 parent 53219f9 commit 44e515a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import OrderStatus from '../OrderStatus'
const tradeDateHelper = (trade) => moment(prop('createdAt', trade)).local().format('MMMM D YYYY @ h:mm A')

const TradeItem = props => {
const { conversion, handleClick, handleFinish, handleTradeCancel, trade, status, cancelTradeId, canTrade } = props
const { conversion, handleClick, handleFinish, handleTradeCancel, trade, status, cancelTradeId } = props
const receiveAmount = trade.isBuy ? trade.receiveAmount : Exchange.displayFiatToFiat({ value: trade.receiveAmount })
const exchangeAmount = trade.isBuy ? Exchange.displayFiatToFiat({ value: trade.sendAmount / conversion.buy }) : trade.sendAmount / conversion.sell
const canCancel = (canTrade && trade.isBuy) && canCancelTrade(trade)
const canCancel = trade.isBuy && canCancelTrade(trade)

return (
<TableRow>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const AcceptTerms = (props) => {
<FormattedMessage id='coinifyexchangedata.create.verifyemail.partner.header.createyouraccount' defaultMessage='Create Your Account' />
</PartnerHeader>
<PartnerSubHeader>
<FormattedMessage id='coinifyexchangedata.create.accept.partner.header.enter_email_code' defaultMessage='We teamed up with Coinify’s exchange platform to offer buy and sell to our customers in Europe. We just sent a verification code to your {email} email address.' values={{ email: email }} />
<FormattedMessage id='coinifyexchangedata.create.accept.partner.header.acceptterms' defaultMessage='We teamed up with Coinify’s exchange platform to offer buy and sell to our customers in Europe. Accept their terms and conditions to start buying and selling.' />
</PartnerSubHeader>
<FieldsContainer>
<FieldContainer>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ class VerifyEmailContainer extends Component {
onSubmit={this.onSubmit}
resendCode={this.resendCode}
ui={ui}
updateUI={updateUI} />
updateUI={updateUI}
email={this.props.oldEmail}
/>
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const EmailInput = styled.div`
`

const VerifyEmail = (props) => {
const { emailVerifiedError, invalid, onSubmit, resendCode, ui, updateUI } = props
const { emailVerifiedError, invalid, onSubmit, resendCode, ui, updateUI, email } = props

const emailHelper = () => {
switch (true) {
Expand All @@ -30,10 +30,10 @@ const VerifyEmail = (props) => {
<ColLeft>
<InputWrapper>
<PartnerHeader>
<FormattedMessage id='coinifyexchangedata.create.verifyemail.partner.header.whatsyouremail' defaultMessage="What's your email?" />
<FormattedMessage id='coinifyexchangedata.create.verifyemail.partner.header.verifyemail' defaultMessage='Verify Your Email' />
</PartnerHeader>
<PartnerSubHeader>
<FormattedMessage id='coinifyexchangedata.create.verifyemail.partner.subheader.enteremail' defaultMessage="Enter the email address you would like to use with your Coinify account. We'll send you a verification code to make sure it's yours." />
<FormattedMessage id='coinifyexchangedata.create.verifyemail.partner.subheader.enteremail' defaultMessage='We sent a verification code to {email}. Enter the code to begin creating your account.' values={{ email }} />
</PartnerSubHeader>
{
ui.create === 'enter_email_code'
Expand Down

0 comments on commit 44e515a

Please sign in to comment.