Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tidy Personal Information Step Terms & Regulations #5417

Merged
merged 6 commits into from
Sep 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/languages/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,6 @@ export default {
requestorStep: {
headerTitle: 'Personal information',
subtitle: 'Please provide your personal information.',
financialRegulations: 'Financial regulation and bank rules require us to validate the identity of any individual setting up bank accounts on behalf of a company. ',
learnMore: 'Learn more',
isMyDataSafe: 'Is my data safe?',
onFidoConditions: 'By continuing with the request to add this bank account, you confirm that you have read, understand and accept ',
Expand Down
1 change: 0 additions & 1 deletion src/languages/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,6 @@ export default {
requestorStep: {
headerTitle: 'Información personal',
subtitle: 'Dé más información sobre tí.',
financialRegulations: 'Las leyes fiscales y el reglamento bancario nos obliga a verificar la identidad de todo individuo que desee añadir una cuenta bancaria representando a una compañía. ',
learnMore: 'Más información',
isMyDataSafe: '¿Están seguros mis datos?',
onFidoConditions: 'Al continuar con la solicitud de añadir esta cuenta bancaria, confirma que ha leído, entiende y acepta ',
Expand Down
32 changes: 16 additions & 16 deletions src/pages/ReimbursementAccount/RequestorStep.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import lodashGet from 'lodash/get';
import {View} from 'react-native';
import {View, Linking} from 'react-native';
import {withOnyx} from 'react-native-onyx';
import styles from '../../styles/styles';
import withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';
Expand Down Expand Up @@ -205,31 +205,31 @@ class RequestorStep extends React.Component {
errorText={this.props.reimbursementAccount.error === this.props.translate('requestorStep.isControllingOfficerError')
? this.props.translate('requestorStep.isControllingOfficerError') : ''}
/>
<Text style={[styles.textMicroSupporting, styles.mt5]}>
{this.props.translate('requestorStep.financialRegulations')}
</Text>
<Text style={[styles.mt3, styles.textMicroSupporting]}>
{this.props.translate('requestorStep.onFidoConditions')}
<TextLink
style={styles.textMicro}
href="https://onfido.com/facial-scan-policy-and-release/"
<Text
onPress={() => Linking.openURL('https://onfido.com/facial-scan-policy-and-release/')}
style={[styles.textMicro, styles.link]}
accessibilityRole="link"
>
{`${this.props.translate('requestorStep.onFidoFacialScan')}`}
</TextLink>
</Text>
{', '}
<TextLink
style={styles.textMicro}
href="https://onfido.com/privacy/"
<Text
onPress={() => Linking.openURL('https://onfido.com/privacy/')}
style={[styles.textMicro, styles.link]}
accessibilityRole="link"
>
{`${this.props.translate('common.privacyPolicy')}`}
</TextLink>
</Text>
{` ${this.props.translate('common.and')} `}
<TextLink
style={styles.textMicro}
href="https://onfido.com/terms-of-service/"
<Text
onPress={() => Linking.openURL('https://onfido.com/terms-of-service/')}
style={[styles.textMicro, styles.link]}
accessibilityRole="link"
>
{`${this.props.translate('common.termsOfService')}`}
</TextLink>
</Text>
</Text>
</ReimbursementAccountForm>
)}
Expand Down