diff --git a/src/addon/calendar/pages/event/event.html b/src/addon/calendar/pages/event/event.html index 704a23bec..63f53e1e6 100644 --- a/src/addon/calendar/pages/event/event.html +++ b/src/addon/calendar/pages/event/event.html @@ -60,7 +60,7 @@

{{ 'core.category' | translate}}

-

+

{{ 'core.description' | translate}}

diff --git a/src/addon/calendar/providers/helper.ts b/src/addon/calendar/providers/helper.ts index 976c21431..a6bed59b5 100644 --- a/src/addon/calendar/providers/helper.ts +++ b/src/addon/calendar/providers/helper.ts @@ -144,7 +144,7 @@ export class AddonCalendarHelperProvider { courseId = e.course ? e.course.id : e.courseid; if (categoryId > 0) { - e.contextLevel = 'category'; + e.contextLevel = 'coursecat'; e.contextInstanceId = categoryId; } else if (courseId > 0) { e.contextLevel = 'course'; diff --git a/src/core/constants.ts b/src/core/constants.ts index 65c666882..c9784ccc3 100644 --- a/src/core/constants.ts +++ b/src/core/constants.ts @@ -18,7 +18,7 @@ export const enum ContextLevel { SYSTEM = 'system', USER = 'user', - COURSECAT = 'category', + COURSECAT = 'coursecat', COURSE = 'course', MODULE = 'module', BLOCK = 'block',