mirror of
https://github.com/strapi/strapi.git
synced 2025-10-28 00:22:51 +00:00
Fix links to the ctm
This commit is contained in:
parent
456e36c1ce
commit
ce22ca993c
@ -46,6 +46,15 @@
|
|||||||
"type": "component",
|
"type": "component",
|
||||||
"repeatable": false,
|
"repeatable": false,
|
||||||
"component": "default.rrr"
|
"component": "default.rrr"
|
||||||
|
},
|
||||||
|
"date": {
|
||||||
|
"type": "date"
|
||||||
|
},
|
||||||
|
"datetime": {
|
||||||
|
"type": "datetime"
|
||||||
|
},
|
||||||
|
"time": {
|
||||||
|
"type": "time"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -59,7 +59,7 @@ function List({
|
|||||||
color: 'primary',
|
color: 'primary',
|
||||||
label: formatMessage({
|
label: formatMessage({
|
||||||
id: !isSub
|
id: !isSub
|
||||||
? `${pluginId}.form.button.add.field.to.contentType`
|
? `${pluginId}.form.button.add.field.to.${editTarget}`
|
||||||
: `${pluginId}.form.button.add.field.to.component`,
|
: `${pluginId}.form.button.add.field.to.component`,
|
||||||
}),
|
}),
|
||||||
onClick: onClickAddField,
|
onClick: onClickAddField,
|
||||||
|
|||||||
@ -258,12 +258,12 @@ const ListPage = () => {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
const goToCMSettingsPage = () => {
|
const goToCMSettingsPage = () => {
|
||||||
push(
|
const endPoint = isInContentTypeView
|
||||||
`/plugins/content-manager/${targetUid}/ctm-configurations/list-settings`
|
? `/plugins/content-manager/${targetUid}/ctm-configurations/edit-settings/content-types`
|
||||||
);
|
: `/plugins/content-manager/ctm-configurations/edit-settings/components/${targetUid}/`;
|
||||||
|
push(endPoint);
|
||||||
};
|
};
|
||||||
|
|
||||||
// const listActions = isInDevelopmentMode ? [{ ...addButtonProps }] : [];
|
|
||||||
const configureButtonProps = {
|
const configureButtonProps = {
|
||||||
icon: <LayoutIcon className="colored" fill="#007eff" />,
|
icon: <LayoutIcon className="colored" fill="#007eff" />,
|
||||||
color: 'secondary',
|
color: 'secondary',
|
||||||
|
|||||||
@ -59,8 +59,7 @@
|
|||||||
|
|
||||||
"form.attribute.settings.default.checkboxLabel": "Set to true",
|
"form.attribute.settings.default.checkboxLabel": "Set to true",
|
||||||
"form.button.add.field": "Add Another Field",
|
"form.button.add.field": "Add Another Field",
|
||||||
"form.button.add.field.to.contentType": "Add another field to this content-type",
|
|
||||||
"form.button.add.field.to.component": "Add another field to this component",
|
|
||||||
"form.button.cancel": "Cancel",
|
"form.button.cancel": "Cancel",
|
||||||
"form.button.continue": "Continue",
|
"form.button.continue": "Continue",
|
||||||
"form.button.save": "Save",
|
"form.button.save": "Save",
|
||||||
@ -176,6 +175,7 @@
|
|||||||
"attribute.component.description": "Set of fields that you can repeat or reuse",
|
"attribute.component.description": "Set of fields that you can repeat or reuse",
|
||||||
"attribute.date": "Date",
|
"attribute.date": "Date",
|
||||||
"attribute.date.description": "Event date, opening hours",
|
"attribute.date.description": "Event date, opening hours",
|
||||||
|
"attribute.datetime": "Datetime",
|
||||||
"attribute.dynamiczone": "Dynamic zone",
|
"attribute.dynamiczone": "Dynamic zone",
|
||||||
"attribute.dynamiczone.description": "Dynamically pick component when editing content",
|
"attribute.dynamiczone.description": "Dynamically pick component when editing content",
|
||||||
"attribute.email": "Email",
|
"attribute.email": "Email",
|
||||||
@ -197,6 +197,7 @@
|
|||||||
"attribute.richtext.description": "Formatting and creating text",
|
"attribute.richtext.description": "Formatting and creating text",
|
||||||
"attribute.text": "Text",
|
"attribute.text": "Text",
|
||||||
"attribute.text.description": "Small or long text like title or description",
|
"attribute.text.description": "Small or long text like title or description",
|
||||||
|
"attribute.time": "Time",
|
||||||
"attribute.uid": "Uuid",
|
"attribute.uid": "Uuid",
|
||||||
"attribute.uid.description": "Unique identifier",
|
"attribute.uid.description": "Unique identifier",
|
||||||
|
|
||||||
@ -280,5 +281,7 @@
|
|||||||
"components.componentSelect.value-component": "{number} component selected",
|
"components.componentSelect.value-component": "{number} component selected",
|
||||||
"popUpWarning.bodyMessage.contentType.delete": "Are you sure you want to delete this content type?",
|
"popUpWarning.bodyMessage.contentType.delete": "Are you sure you want to delete this content type?",
|
||||||
"popUpWarning.bodyMessage.component.delete": "Are you sure you want to delete this component?",
|
"popUpWarning.bodyMessage.component.delete": "Are you sure you want to delete this component?",
|
||||||
"popUpWarning.bodyMessage.category.delete": "Are you sure you want to delete this category? All the components will also be deleted."
|
"popUpWarning.bodyMessage.category.delete": "Are you sure you want to delete this category? All the components will also be deleted.",
|
||||||
|
"form.button.add.field.to.contentType": "Add another field to this content-type",
|
||||||
|
"form.button.add.field.to.component": "Add another field to this component"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user