Fix wording
This commit is contained in:
parent
0788cde219
commit
cd2d3a44ea
2 changed files with 7 additions and 6 deletions
|
@ -87,7 +87,7 @@ var App = React.createClass({
|
||||||
'?send' : 'Send',
|
'?send' : 'Send',
|
||||||
'?receive' : 'Receive',
|
'?receive' : 'Receive',
|
||||||
'?claim' : 'Claim Beta Code',
|
'?claim' : 'Claim Beta Code',
|
||||||
'?referral' : 'Claim Referral',
|
'?referral' : 'Check Referral Credit',
|
||||||
};
|
};
|
||||||
default:
|
default:
|
||||||
return null;
|
return null;
|
||||||
|
|
|
@ -38,9 +38,9 @@ var ReferralPage = React.createClass({
|
||||||
var response = JSON.parse(xhr.responseText);
|
var response = JSON.parse(xhr.responseText);
|
||||||
|
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
var credits = response.activationCredits + response.referralCredits;
|
alert('You have earned ' + response.referralCredits + ' credits from referrals and ' +
|
||||||
alert('Your referral code has been redeemed! ' + credits + ' credits will be added to ' +
|
response.activationCredits + ' credits from activations.');
|
||||||
'your balance shortly.');
|
|
||||||
window.location = '?home';
|
window.location = '?home';
|
||||||
} else {
|
} else {
|
||||||
alert(response.reason);
|
alert(response.reason);
|
||||||
|
@ -68,9 +68,10 @@ var ReferralPage = React.createClass({
|
||||||
return (
|
return (
|
||||||
<main>
|
<main>
|
||||||
<div className="card">
|
<div className="card">
|
||||||
<h2>Claim your referral credits</h2>
|
<h2>Check your referral credits</h2>
|
||||||
<section style={referralCodeContentStyle}>
|
<section style={referralCodeContentStyle}>
|
||||||
<p>Did you refer someone to LBRY? Enter your referral code and email address below to receive your credits!</p>
|
<p>Have you referred others to LBRY? Enter your referral code and email address below to check how many credits you've earned!</p>
|
||||||
|
<p>As a reminder, your referral code is the same as your LBRY invitation code.</p>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<form onSubmit={this.handleSubmit}>
|
<form onSubmit={this.handleSubmit}>
|
||||||
|
|
Loading…
Add table
Reference in a new issue