Skip to content

Commit 9ee4968

Browse files
authored
Merge pull request #4188 from alfonso-salces/MOBILE-4666
MOBILE-4666 lesson-index: Show loading when lesson is downloading
2 parents 890b1e9 + 9fddd8f commit 9ee4968

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/addons/mod/lesson/components/index/addon-mod-lesson-index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,11 @@
200200
</core-tab>
201201
</core-tabs>
202202

203-
<div collapsible-footer *ngIf="!showLoading" slot="fixed">
203+
<div collapsible-footer *ngIf="!showLoading" slot="fixed" [ngClass]="{ 'ion-margin-bottom': showSpinner }">
204204
<div class="list-item-limited-width" *ngIf="!canViewReports && ((lesson && !preventReasons.length) || retakeToReview)">
205-
<ng-container *ngTemplateOutlet="buttons" />
205+
<core-loading [hideUntil]="!showSpinner">
206+
<ng-container *ngTemplateOutlet="buttons" />
207+
</core-loading>
206208
</div>
207209

208210
<core-course-module-navigation [courseId]="courseId" [currentModuleId]="module.id" />

0 commit comments

Comments
 (0)