Merge pull request #1594 from crazyserver/MOBILE-2720
MOBILE-2720 course: Hide progressbar with one section selectedmain
commit
d5c483b83f
|
@ -9,8 +9,8 @@
|
|||
<core-dynamic-component [component]="courseFormatComponent" [data]="data">
|
||||
<!-- Course summary. By default we only display the course progress. -->
|
||||
<core-dynamic-component [component]="courseSummaryComponent" [data]="data">
|
||||
<ion-list no-lines *ngIf="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-list no-lines *ngIf="selectedSection && selectedSection.id == allSectionsId && course.progress != null && course.progress >= 0" class="core-format-progress-list">
|
||||
<ion-item class="core-course-progress">
|
||||
<core-progress-bar [progress]="course.progress"></core-progress-bar>
|
||||
</ion-item>
|
||||
</ion-list>
|
||||
|
|
Loading…
Reference in New Issue