diff --git a/src/addons/block/recentlyaccesseditems/components/recentlyaccesseditems/addon-block-recentlyaccesseditems.html b/src/addons/block/recentlyaccesseditems/components/recentlyaccesseditems/addon-block-recentlyaccesseditems.html index bdab2ad19..2b185a878 100644 --- a/src/addons/block/recentlyaccesseditems/components/recentlyaccesseditems/addon-block-recentlyaccesseditems.html +++ b/src/addons/block/recentlyaccesseditems/components/recentlyaccesseditems/addon-block-recentlyaccesseditems.html @@ -16,7 +16,7 @@ + [componentId]="item.cmid" [showAlt]="false" [purpose]="item.purpose"> diff --git a/src/addons/block/recentlyaccesseditems/services/recentlyaccesseditems.ts b/src/addons/block/recentlyaccesseditems/services/recentlyaccesseditems.ts index 1a1c3c65b..de78e4ea6 100644 --- a/src/addons/block/recentlyaccesseditems/services/recentlyaccesseditems.ts +++ b/src/addons/block/recentlyaccesseditems/services/recentlyaccesseditems.ts @@ -103,6 +103,8 @@ export const AddonBlockRecentlyAccessedItems = makeSingleton(AddonBlockRecentlyA /** * Result of WS block_recentlyaccesseditems_get_recent_items. + * + * The most recently accessed activities/resources by the logged user. */ export type AddonBlockRecentlyAccessedItemsItem = { id: number; // Id. @@ -116,6 +118,7 @@ export type AddonBlockRecentlyAccessedItemsItem = { viewurl: string; // Viewurl. courseviewurl: string; // Courseviewurl. icon: string; // Icon. + purpose?: string; // Purpose. @since 4.0 } & AddonBlockRecentlyAccessedItemsItemCalculatedData; /** diff --git a/src/addons/block/timeline/components/events/addon-block-timeline-events.html b/src/addons/block/timeline/components/events/addon-block-timeline-events.html index 4ce38eaa3..3aab6a77b 100644 --- a/src/addons/block/timeline/components/events/addon-block-timeline-events.html +++ b/src/addons/block/timeline/components/events/addon-block-timeline-events.html @@ -23,7 +23,7 @@ {{event.timesort * 1000 | coreFormatDate:"strftimetime24" }} + [modname]="event.modulename" [purpose]="event.purpose"> diff --git a/src/addons/calendar/components/calendar/addon-calendar-calendar.html b/src/addons/calendar/components/calendar/addon-calendar-calendar.html index 21d0bc83d..b355dd1e5 100644 --- a/src/addons/calendar/components/calendar/addon-calendar-calendar.html +++ b/src/addons/calendar/components/calendar/addon-calendar-calendar.html @@ -93,7 +93,7 @@

- {{ 'core.nummore' | translate:{$a: day.filteredEvents.length - 3} }} + {{ 'core.nummore' | translate:{$a: day.filteredEvents.length - 3} }}

diff --git a/src/addons/calendar/components/upcoming-events/addon-calendar-upcoming-events.html b/src/addons/calendar/components/upcoming-events/addon-calendar-upcoming-events.html index ef63f7816..701ee61b4 100644 --- a/src/addons/calendar/components/upcoming-events/addon-calendar-upcoming-events.html +++ b/src/addons/calendar/components/upcoming-events/addon-calendar-upcoming-events.html @@ -8,7 +8,7 @@ + [componentId]="event.instance" [showAlt]="false" [purpose]="event.purpose"> diff --git a/src/addons/calendar/pages/day/day.html b/src/addons/calendar/pages/day/day.html index e126fbfc2..1abcf2c16 100644 --- a/src/addons/calendar/pages/day/day.html +++ b/src/addons/calendar/pages/day/day.html @@ -70,7 +70,7 @@ (click)="gotoEvent(event.id, day)" [class.item-dimmed]="event.ispast" [ngClass]="['addon-calendar-eventtype-'+event.eventtype]" button [detail]="false"> + [modname]="event.modulename" [componentId]="event.instance" [purpose]="event.purpose">