MOBILE-2720 course: Hide progressbar with one section selected
parent
9e95285f62
commit
85e134ccac
|
@ -9,8 +9,8 @@
|
||||||
<core-dynamic-component [component]="courseFormatComponent" [data]="data">
|
<core-dynamic-component [component]="courseFormatComponent" [data]="data">
|
||||||
<!-- Course summary. By default we only display the course progress. -->
|
<!-- Course summary. By default we only display the course progress. -->
|
||||||
<core-dynamic-component [component]="courseSummaryComponent" [data]="data">
|
<core-dynamic-component [component]="courseSummaryComponent" [data]="data">
|
||||||
<ion-list no-lines *ngIf="course.progress != null && course.progress >= 0" class="core-format-progress-list">
|
<ion-list no-lines *ngIf="selectedSection && selectedSection.id == allSectionsId && course.progress != null && course.progress >= 0" class="core-format-progress-list">
|
||||||
<ion-item *ngIf="course.progress != null && course.progress >= 0" class="core-course-progress">
|
<ion-item class="core-course-progress">
|
||||||
<core-progress-bar [progress]="course.progress"></core-progress-bar>
|
<core-progress-bar [progress]="course.progress"></core-progress-bar>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
</ion-list>
|
</ion-list>
|
||||||
|
|
Loading…
Reference in New Issue