MOBILE-2915 lesson: Fix review after sync if no retakes
parent
322d6ad2ca
commit
f969f99e01
|
@ -51,13 +51,15 @@
|
||||||
</ion-card>
|
</ion-card>
|
||||||
|
|
||||||
<core-loading [hideUntil]="!showSpinner">
|
<core-loading [hideUntil]="!showSpinner">
|
||||||
<ion-list *ngIf="lesson && (!preventMessages || !preventMessages.length)">
|
|
||||||
|
<ion-list *ngIf="(lesson && (!preventMessages || !preventMessages.length)) || retakeToReview">
|
||||||
<ion-item text-wrap *ngIf="retakeToReview">
|
<ion-item text-wrap *ngIf="retakeToReview">
|
||||||
<!-- A retake was finished in a synchronization, allow reviewing it. -->
|
<!-- A retake was finished in a synchronization, allow reviewing it. -->
|
||||||
<p>{{ 'addon.mod_lesson.retakefinishedinsync' | translate }}</p>
|
<p padding-bottom>{{ 'addon.mod_lesson.retakefinishedinsync' | translate }}</p>
|
||||||
<a ion-button block (click)="review()">{{ 'addon.mod_lesson.review' | translate }}</a>
|
<a ion-button block (click)="review()">{{ 'addon.mod_lesson.review' | translate }}</a>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
|
|
||||||
|
<ng-container *ngIf="lesson && (!preventMessages || !preventMessages.length)">
|
||||||
<ion-item text-wrap *ngIf="leftDuringTimed && !lesson.timelimit && !finishedOffline">
|
<ion-item text-wrap *ngIf="leftDuringTimed && !lesson.timelimit && !finishedOffline">
|
||||||
<!-- User left during the session and there is no time limit, ask to continue. -->
|
<!-- User left during the session and there is no time limit, ask to continue. -->
|
||||||
<p [innerHTML]="'addon.mod_lesson.youhaveseen' | translate"></p>
|
<p [innerHTML]="'addon.mod_lesson.youhaveseen' | translate"></p>
|
||||||
|
@ -106,6 +108,7 @@
|
||||||
<ion-icon name="arrow-forward" md="ios-arrow-forward"></ion-icon>
|
<ion-icon name="arrow-forward" md="ios-arrow-forward"></ion-icon>
|
||||||
</a>
|
</a>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
|
</ng-container>
|
||||||
</ion-list>
|
</ion-list>
|
||||||
</core-loading>
|
</core-loading>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|
Loading…
Reference in New Issue