Skip to content

Commit

Permalink
[Telemetry/Pulse] Updates advanced settings text for usage data (#52657
Browse files Browse the repository at this point in the history
…) (#52677)

* [Telemetry/Pulse] Updates advanced settings text for usage data
  • Loading branch information
TinaHeiligers authored Dec 10, 2019
1 parent 3a53d1e commit b86ba34
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 23 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {
EuiSpacer,
EuiText,
} from '@elastic/eui';
import { getConfigTelemetryDesc, PRIVACY_STATEMENT_URL } from '../../common/constants';
import { PRIVACY_STATEMENT_URL } from '../../common/constants';
import { OptInExampleFlyout } from './opt_in_details_component';
import { Field } from 'ui/management';
import { FormattedMessage } from '@kbn/i18n/react';
Expand Down Expand Up @@ -162,7 +162,23 @@ export class TelemetryForm extends Component {

renderDescription = () => (
<Fragment>
<p>{getConfigTelemetryDesc()}</p>
<p>
<FormattedMessage
id="telemetry.telemetryConfigAndLinkDescription"
defaultMessage="Enabling data usage collection helps us manage and improve our products and services.
See our {privacyStatementLink} for more details."
values={{
privacyStatementLink: (
<EuiLink href={PRIVACY_STATEMENT_URL} target="_blank">
<FormattedMessage
id="telemetry.readOurUsageDataPrivacyStatementLinkText"
defaultMessage="Privacy Statement"
/>
</EuiLink>
)
}}
/>
</p>
<p>
<EuiLink onClick={this.toggleExample}>
<FormattedMessage
Expand All @@ -171,14 +187,6 @@ export class TelemetryForm extends Component {
/>
</EuiLink>
</p>
<p>
<EuiLink href={PRIVACY_STATEMENT_URL} target="_blank">
<FormattedMessage
id="telemetry.readOurUsageDataPrivacyStatementLinkText"
defaultMessage="Read our usage data privacy statement"
/>
</EuiLink>
</p>
</Fragment>
)

Expand Down

0 comments on commit b86ba34

Please sign in to comment.