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

[7.x] update close/delete system index modals (#45037) #45256

Merged
merged 1 commit into from
Sep 10, 2019
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { FormattedMessage } from '@kbn/i18n/react';
import { i18n } from '@kbn/i18n';
import { all } from 'lodash';
import {
EuiBadge,
EuiButton,
EuiCallOut,
EuiContextMenu,
Expand Down Expand Up @@ -430,10 +431,12 @@ export class IndexActionsContextMenu extends Component {
{isSystemIndexByName[indexName] ? (
<Fragment>
{' '}
<FormattedMessage
id="xpack.idxMgmt.indexActionsMenu.deleteIndex.systemIndexLabel"
defaultMessage="(System index)"
/>
<EuiBadge iconType="alert" color="hollow">
<FormattedMessage
id="xpack.idxMgmt.indexActionsMenu.deleteIndex.systemIndexLabel"
defaultMessage="System index"
/>
</EuiBadge>
</Fragment>
) : ''}
</li>
Expand All @@ -456,7 +459,7 @@ export class IndexActionsContextMenu extends Component {
<FormattedMessage
id="xpack.idxMgmt.indexActionsMenu.deleteIndex.proceedWithCautionCallOutDescription"
defaultMessage="System indices are critical for internal operations.
Deleting an index cannot be undone. Make sure you have appropriate backups."
If you delete a system index, you can't recover it. Make sure you have appropriate backups."
/>
</p>
<EuiCheckbox
Expand Down Expand Up @@ -566,10 +569,12 @@ export class IndexActionsContextMenu extends Component {
{isSystemIndexByName[indexName] ? (
<Fragment>
{' '}
<FormattedMessage
id="xpack.idxMgmt.indexActionsMenu.closeIndex.systemIndexLabel"
defaultMessage="(System index)"
/>
<EuiBadge iconType="alert" color="hollow">
<FormattedMessage
id="xpack.idxMgmt.indexActionsMenu.closeIndex.systemIndexLabel"
defaultMessage="System index"
/>
</EuiBadge>
</Fragment>
) : ''}
</li>
Expand Down