26 lines
1.0 KiB
HTML
26 lines
1.0 KiB
HTML
<ion-header>
|
|
<ion-toolbar>
|
|
<ion-buttons slot="start">
|
|
<ion-back-button [attr.aria-label]="'core.back' | translate"></ion-back-button>
|
|
</ion-buttons>
|
|
<ion-title>
|
|
<core-format-text [text]="title" contextLevel="module" [contextInstanceId]="module?.id" [courseId]="courseId">
|
|
</core-format-text>
|
|
</ion-title>
|
|
|
|
<ion-buttons slot="end">
|
|
<!-- The buttons defined by the component will be added in here. -->
|
|
</ion-buttons>
|
|
</ion-toolbar>
|
|
</ion-header>
|
|
<ion-content>
|
|
<ion-refresher slot="fixed"
|
|
[disabled]="!activityComponent?.loaded || activityComponent?.mode != 'external'"
|
|
(ionRefresh)="activityComponent?.doRefresh($event)">
|
|
<ion-refresher-content pullingText="{{ 'core.pulltorefresh' | translate }}"></ion-refresher-content>
|
|
</ion-refresher>
|
|
|
|
<addon-mod-resource-index [module]="module" [courseId]="courseId" (dataRetrieved)="updateData($event)">
|
|
</addon-mod-resource-index>
|
|
</ion-content>
|