Skip to content
Merged
Show file tree
Hide file tree
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 @@ -55,24 +55,26 @@ export const AliasTable: FunctionComponent<Props> = ({ spaces, aliasesToDisable

return (
<>
<EuiCallOut
size="s"
title={
<EuiFlexItem grow={false}>
<EuiCallOut
size="s"
title={
<FormattedMessage
id="xpack.spaces.shareToSpace.aliasTableCalloutTitle"
defaultMessage="Legacy URL conflict"
/>
}
color="warning"
>
<FormattedMessage
id="xpack.spaces.shareToSpace.aliasTableCalloutTitle"
defaultMessage="Legacy URL conflict"
id="xpack.spaces.shareToSpace.aliasTableCalloutBody"
defaultMessage="{aliasesToDisableCount, plural, one {# legacy URL} other {# legacy URLs}} will be disabled."
values={{ aliasesToDisableCount }}
/>
}
color="warning"
>
<FormattedMessage
id="xpack.spaces.shareToSpace.aliasTableCalloutBody"
defaultMessage="{aliasesToDisableCount, plural, one {# legacy URL} other {# legacy URLs}} will be disabled."
values={{ aliasesToDisableCount }}
/>
</EuiCallOut>
</EuiCallOut>

<EuiSpacer size="m" />
<EuiSpacer size="m" />
</EuiFlexItem>

<EuiFlexItem>
<Suspense fallback={<EuiLoadingSpinner />}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export const ShareModeControl = (props: Props) => {

const docLink = docLinks?.links.security.kibanaPrivileges;
return (
<>
<EuiFlexItem grow={false}>
<EuiCallOut
size="s"
iconType="help"
Expand Down Expand Up @@ -140,7 +140,7 @@ export const ShareModeControl = (props: Props) => {
</EuiCallOut>

<EuiSpacer size="m" />
</>
</EuiFlexItem>
);
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

import './share_to_space_form.scss';

import { EuiCallOut, EuiLink, EuiSpacer } from '@elastic/eui';
import React, { Fragment } from 'react';
import { EuiCallOut, EuiFlexItem, EuiLink, EuiSpacer } from '@elastic/eui';
import React from 'react';

import { FormattedMessage } from '@kbn/i18n-react';

Expand Down Expand Up @@ -47,7 +47,7 @@ export const ShareToSpaceForm = (props: Props) => {
onUpdate({ ...shareOptions, selectedSpaceIds });

const createCopyCallout = showCreateCopyCallout ? (
<Fragment>
<EuiFlexItem grow={false}>
<EuiCallOut
size="s"
title={
Expand Down Expand Up @@ -75,7 +75,7 @@ export const ShareToSpaceForm = (props: Props) => {
</EuiCallOut>

<EuiSpacer size="m" />
</Fragment>
</EuiFlexItem>
) : null;

return (
Expand Down