MOBILE-3523 courses: Fix course name in manage storage
parent
1a87eb3094
commit
95e2fc2a4d
|
@ -7,7 +7,10 @@
|
|||
<core-loading [hideUntil]="loaded">
|
||||
<ion-card class="wholecourse">
|
||||
<ion-card-header>
|
||||
<h1 text-wrap>{{ course.displayname }}</h1>
|
||||
<h1 text-wrap>
|
||||
<span *ngIf="course.displayname">{{ course.displayname }}</span>
|
||||
<span *ngIf="!course.displayname">{{ course.fullname }}</span>
|
||||
</h1>
|
||||
<p text-wrap>{{ 'addon.storagemanager.info' | translate }}</p>
|
||||
<ion-item no-padding padding-top class="size" text-wrap>
|
||||
<ion-icon name="cube" item-start></ion-icon>
|
||||
|
|
|
@ -24,7 +24,10 @@
|
|||
<ion-card>
|
||||
<ion-list>
|
||||
<ion-item *ngFor="let course of downloadedCourses" class="course">
|
||||
<h2 text-wrap>{{ course.displayname }}</h2>
|
||||
<h2 text-wrap>
|
||||
<span *ngIf="course.displayname">{{ course.displayname }}</span>
|
||||
<span *ngIf="!course.displayname">{{ course.fullname }}</span>
|
||||
</h2>
|
||||
<h3 *ngIf="course.isDownloading">{{ 'core.downloading' | translate }}</h3>
|
||||
<p>
|
||||
<ion-icon name="cube" item-start></ion-icon>
|
||||
|
|
Loading…
Reference in New Issue