MOBILE-2490 sitehome: Enable download of activities

main
Albert Gasset 2018-07-17 10:38:45 +02:00
parent 50637d0377
commit 16c9ff06f4
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
<core-format-text [text]="section.summary"></core-format-text> <core-format-text [text]="section.summary"></core-format-text>
</ion-item> </ion-item>
<core-course-module *ngFor="let module of section.modules" [module]="module" [courseId]="siteHomeId"></core-course-module> <core-course-module *ngFor="let module of section.modules" [module]="module" [courseId]="siteHomeId" [downloadEnabled]="true"></core-course-module>
</ng-container> </ng-container>
<!-- Site home items: news, categories, courses, etc. --> <!-- Site home items: news, categories, courses, etc. -->
@ -29,7 +29,7 @@
<core-format-text [text]="block.summary"></core-format-text> <core-format-text [text]="block.summary"></core-format-text>
</ion-item> </ion-item>
<core-course-module *ngFor="let module of block.modules" [module]="module" [courseId]="siteHomeId"></core-course-module> <core-course-module *ngFor="let module of block.modules" [module]="module" [courseId]="siteHomeId" [downloadEnabled]="true"></core-course-module>
</ng-container> </ng-container>
</ion-list> </ion-list>