CreationModal.propTypes = {
path: T.string.isRequired,
contextType: T.string.isRequired,
+ contextId: T.object.isRequired,
openForm: T.func.isRequired,
reset: T.func.isRequired,
fadeModal: T.func.isRequired
diff --git a/src/plugin/cursus/Resources/modules/tools/events/components/tool.jsx b/src/plugin/cursus/Resources/modules/tools/events/components/tool.jsx
index 4c918682b9..8a3967e1fd 100644
--- a/src/plugin/cursus/Resources/modules/tools/events/components/tool.jsx
+++ b/src/plugin/cursus/Resources/modules/tools/events/components/tool.jsx
@@ -83,6 +83,8 @@ const EventsTool = (props) =>
path={props.path}
canEdit={props.canEdit}
contextType={props.contextType}
+ contextId={props.currentContext.data}
+ openForm={props.openForm}
/>
)
}
diff --git a/src/plugin/cursus/Resources/modules/tools/trainings/catalog/components/list.jsx b/src/plugin/cursus/Resources/modules/tools/trainings/catalog/components/list.jsx
index a10bd11f83..1ac3c28c2f 100644
--- a/src/plugin/cursus/Resources/modules/tools/trainings/catalog/components/list.jsx
+++ b/src/plugin/cursus/Resources/modules/tools/trainings/catalog/components/list.jsx
@@ -39,6 +39,11 @@ const CatalogList = (props) =>
name={selectors.LIST_NAME}
url={['apiv2_cursus_course_list']}
>
+
+
+ {trans('no_courses', {}, 'cursus')}
+ {trans('no_courses_help', {}, 'cursus')}
+