Skip to content

Commit

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

* [Telemetry/Pulse] Updates advanced settings text for usage data
  • Loading branch information
TinaHeiligers authored and timductive committed Dec 16, 2019
1 parent 78fa494 commit bc3425f
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 bc3425f

Please sign in to comment.