diff --git a/packages/core/email/admin/src/pages/Settings/components/Configuration.js b/packages/core/email/admin/src/pages/Settings/components/Configuration.js index 1ed554c675..8e2d938a0d 100644 --- a/packages/core/email/admin/src/pages/Settings/components/Configuration.js +++ b/packages/core/email/admin/src/pages/Settings/components/Configuration.js @@ -5,7 +5,7 @@ import PropTypes from 'prop-types'; import { useIntl } from 'react-intl'; import { Stack } from '@strapi/design-system/Stack'; import { Grid, GridItem } from '@strapi/design-system/Grid'; -import { H3, Text } from '@strapi/design-system/Text'; +import { Typography } from '@strapi/design-system/Typography'; import { TextInput } from '@strapi/design-system/TextInput'; import { Select, Option } from '@strapi/design-system/Select'; import getTrad from '../../../utils/getTrad'; @@ -16,17 +16,18 @@ const Configuration = ({ config }) => { return ( -

+ {formatMessage({ id: getTrad('Settings.email.plugin.title.config'), defaultMessage: 'Configuration', })} -

- + + {formatMessage( { id: getTrad('Settings.email.plugin.text.configuration'), - defaultMessage: 'Configuration', + defaultMessage: + 'The plugin is configured through the {file} file, checkout this {link} for the documentation.', }, { file: './config/plugins.js', @@ -41,7 +42,7 @@ const Configuration = ({ config }) => { ), } )} - +
diff --git a/packages/core/email/admin/src/pages/Settings/index.js b/packages/core/email/admin/src/pages/Settings/index.js index b78ed117d3..c6345192ad 100644 --- a/packages/core/email/admin/src/pages/Settings/index.js +++ b/packages/core/email/admin/src/pages/Settings/index.js @@ -14,11 +14,11 @@ import { ContentLayout } from '@strapi/design-system/Layout'; import { Stack } from '@strapi/design-system/Stack'; import { Box } from '@strapi/design-system/Box'; import { Grid, GridItem } from '@strapi/design-system/Grid'; -import { H3 } from '@strapi/design-system/Text'; +import { Typography } from '@strapi/design-system/Typography'; import { TextInput } from '@strapi/design-system/TextInput'; import { Button } from '@strapi/design-system/Button'; import { useNotifyAT } from '@strapi/design-system/LiveRegions'; -import Check from '@strapi/icons/Check'; +import Envelop from '@strapi/icons/Envelop'; import Configuration from './components/Configuration'; import schema from '../../utils/schema'; import pluginPermissions from '../../permissions'; @@ -172,12 +172,12 @@ const SettingsPage = () => { paddingRight={7} > -

+ {formatMessage({ id: getTrad('Settings.email.plugin.title.test'), defaultMessage: 'Send a test mail', })} -

+ { /> - {/* to replace with envelope icon */} - diff --git a/packages/core/email/admin/src/pages/Settings/tests/index.test.js b/packages/core/email/admin/src/pages/Settings/tests/index.test.js index d70433a96c..e5f1827f66 100644 --- a/packages/core/email/admin/src/pages/Settings/tests/index.test.js +++ b/packages/core/email/admin/src/pages/Settings/tests/index.test.js @@ -541,6 +541,19 @@ describe('Email | Pages | Settings', () => { margin-top: 4px; } + .c11 { + color: #32324d; + font-weight: 500; + font-size: 1rem; + line-height: 1.25; + } + + .c12 { + color: #32324d; + font-size: 0.875rem; + line-height: 1.43; + } + .c0 { outline: none; } @@ -617,20 +630,6 @@ describe('Email | Pages | Settings', () => { grid-column: span 7; } - .c11 { - font-weight: 500; - font-size: 1rem; - line-height: 1.25; - color: #32324d; - } - - .c12 { - font-weight: 400; - font-size: 0.875rem; - line-height: 1.43; - color: #32324d; - } - @media (max-width:68.75rem) { .c14 { grid-column: span 12; @@ -714,7 +713,15 @@ describe('Email | Pages | Settings', () => { - Configuration + The plugin is configured through the ./config/plugins.js file, checkout this + + link + + for the documentation.
{ xmlns="http://www.w3.org/2000/svg" > + +