Skip to content

Commit

Permalink
[SIEM][Timelines] Updates timeline template callout text (#73334) (#7…
Browse files Browse the repository at this point in the history
…3417)

* updates timeline template callout text

* fixes typo in constant

Co-authored-by: Elastic Machine <[email protected]>

Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
MadameSheema and elasticmachine authored Jul 28, 2020
1 parent bbe51a5 commit 6ebdda5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ describe('Header', () => {
expect(
wrapper.find('[data-test-subj="timelineImmutableCallOut"]').first().prop('title')
).toEqual(
'This timeline is immutable, therefore not allowed to save it within the security application, though you may continue to use the timeline to search and filter security events'
'This prebuilt timeline template cannot be modified. To make changes, please duplicate this template and make modifications to the duplicate template.'
);
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const TimelineHeaderComponent: React.FC<Props> = ({
{status === TimelineStatus.immutable && (
<EuiCallOut
data-test-subj="timelineImmutableCallOut"
title={i18n.CALL_OUT_IMMUTIABLE}
title={i18n.CALL_OUT_IMMUTABLE}
color="primary"
iconType="alert"
size="s"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ export const CALL_OUT_UNAUTHORIZED_MSG = i18n.translate(
}
);

export const CALL_OUT_IMMUTIABLE = i18n.translate(
export const CALL_OUT_IMMUTABLE = i18n.translate(
'xpack.securitySolution.timeline.callOut.immutable.message.description',
{
defaultMessage:
'This timeline is immutable, therefore not allowed to save it within the security application, though you may continue to use the timeline to search and filter security events',
'This prebuilt timeline template cannot be modified. To make changes, please duplicate this template and make modifications to the duplicate template.',
}
);

0 comments on commit 6ebdda5

Please sign in to comment.