fix: update opt in text (#457)
update opt in checkbox text on register page. VAN-740
This commit is contained in:
@@ -841,8 +841,8 @@ select.form-control {
|
||||
|
||||
.opt-checkbox {
|
||||
.pgn__form-label {
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.5rem;
|
||||
font-size: 0.75rem;
|
||||
line-height: 1.25rem;
|
||||
}
|
||||
margin-top: 1rem;
|
||||
margin-left: 3px;
|
||||
|
||||
@@ -667,7 +667,7 @@ class RegistrationPage extends React.Component {
|
||||
checked={this.state.marketingOptIn}
|
||||
onChange={(e) => this.setState({ marketingOptIn: e.target.checked })}
|
||||
>
|
||||
{intl.formatMessage(messages['registration.opt.in.label'])}
|
||||
{intl.formatMessage(messages['registration.opt.in.label'], { siteName: getConfig().SITE_NAME })}
|
||||
</Form.Checkbox>
|
||||
)}
|
||||
<div id="honor-code" className="micro text-muted mt-4">
|
||||
|
||||
@@ -34,8 +34,8 @@ const messages = defineMessages({
|
||||
},
|
||||
'registration.opt.in.label': {
|
||||
id: 'registration.opt.in.label',
|
||||
defaultMessage: 'Receive marketing emails',
|
||||
description: 'You will be receive marketing emails by checking it',
|
||||
defaultMessage: 'By creating an account, I agree that {siteName} may send me marketing messages.',
|
||||
description: 'Text for opt in option on register page.',
|
||||
},
|
||||
// Help text
|
||||
'help.text.name': {
|
||||
|
||||
Reference in New Issue
Block a user