Skip to content

Commit

Permalink
[SIEM][Timelines] Updates timeline template callout text (elastic#73334)
Browse files Browse the repository at this point in the history
* updates timeline template callout text

* fixes typo in constant

Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
MadameSheema and elasticmachine committed Jul 28, 2020
1 parent 67cb4b8 commit a4e0a1b
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 a4e0a1b

Please sign in to comment.