diff --git a/packages/strapi-plugin-content-manager/admin/src/translations/en.json b/packages/strapi-plugin-content-manager/admin/src/translations/en.json
index d45967051d..5ad6f4379e 100755
--- a/packages/strapi-plugin-content-manager/admin/src/translations/en.json
+++ b/packages/strapi-plugin-content-manager/admin/src/translations/en.json
@@ -37,6 +37,9 @@
"components.DraggableAttr.edit": "Click to edit",
+ "components.EmptyAttributesBlock.description": "You can change your settings",
+ "components.EmptyAttributesBlock.button": "Go to settings page",
+
"components.FiltersPickWrapper.PluginHeader.actions.apply": "Apply",
"components.FiltersPickWrapper.PluginHeader.actions.clearAll": "Clear all",
"components.FiltersPickWrapper.PluginHeader.description": "Set the conditions to apply to filter the entries",
diff --git a/packages/strapi-plugin-content-manager/admin/src/translations/fr.json b/packages/strapi-plugin-content-manager/admin/src/translations/fr.json
index d3ba479e8e..94cb7e0368 100755
--- a/packages/strapi-plugin-content-manager/admin/src/translations/fr.json
+++ b/packages/strapi-plugin-content-manager/admin/src/translations/fr.json
@@ -37,6 +37,9 @@
"components.DraggableAttr.edit": "Clicquez pour modifier",
+ "components.EmptyAttributesBlock.description": "Vous pouvez modifiez vos paramètres",
+ "components.EmptyAttributesBlock.button": "Voir la page des configurations",
+
"components.FiltersPickWrapper.PluginHeader.actions.apply": "Appliquer",
"components.FiltersPickWrapper.PluginHeader.actions.clearAll": "Tout supprimer",
"components.FiltersPickWrapper.PluginHeader.description": "Définissez les conditions des filtres à appliquer",
diff --git a/packages/strapi-plugin-content-type-builder/admin/src/components/EmptyAttributesView/index.js b/packages/strapi-plugin-content-type-builder/admin/src/components/EmptyAttributesView/index.js
deleted file mode 100644
index 1018249101..0000000000
--- a/packages/strapi-plugin-content-type-builder/admin/src/components/EmptyAttributesView/index.js
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
-*
-* EmptyAttributesView
-*
-*/
-
-import React from 'react';
-import PropTypes from 'prop-types';
-import { FormattedMessage } from 'react-intl';
-import Button from 'components/Button';
-import styles from './styles.scss';
-
-class EmptyAttributesView extends React.Component { // eslint-disable-line react/prefer-stateless-function
- render() {
- return (
-
-
-
- {(title) => {title}
}
-
-
- {(description) => {description}
}
-
-
-
-
-
-
- );
- }
-}
-
-EmptyAttributesView.propTypes = {
- onClickAddAttribute: PropTypes.func.isRequired,
-};
-
-export default EmptyAttributesView;
diff --git a/packages/strapi-plugin-content-type-builder/admin/src/containers/ModelPage/index.js b/packages/strapi-plugin-content-type-builder/admin/src/containers/ModelPage/index.js
index 07ea2d1af7..53cbb4c102 100644
--- a/packages/strapi-plugin-content-type-builder/admin/src/containers/ModelPage/index.js
+++ b/packages/strapi-plugin-content-type-builder/admin/src/containers/ModelPage/index.js
@@ -20,7 +20,7 @@ import { makeSelectContentTypeUpdated } from 'containers/Form/selectors';
import AttributeRow from 'components/AttributeRow';
import ContentHeader from 'components/ContentHeader';
-import EmptyAttributesView from 'components/EmptyAttributesView';
+import EmptyAttributesBlock from 'components/EmptyAttributesBlock';
import Form from 'containers/Form';
import List from 'components/List';
import PluginLeftMenu from 'components/PluginLeftMenu';
@@ -265,7 +265,7 @@ export class ModelPage extends React.Component { // eslint-disable-line react/pr
const addButtons = get(storeData.getContentType(), 'name') === this.props.match.params.modelName && size(get(storeData.getContentType(), 'attributes')) > 0 || this.props.modelPage.showButtons;
const contentHeaderDescription = this.props.modelPage.model.description || 'content-type-builder.modelPage.contentHeader.emptyDescription.description';
const content = size(this.props.modelPage.model.attributes) === 0 ?
-
:
+
: