MOBILE-4362 course: Format course name in storage page

main
Dani Palou 2023-10-20 13:26:49 +02:00
parent df81617588
commit f8fe8aee36
2 changed files with 8 additions and 2 deletions

View File

@ -19,7 +19,10 @@
<ion-card class="wholecourse"> <ion-card class="wholecourse">
<ion-card-header> <ion-card-header>
<ion-card-title>{{ title }}</ion-card-title> <ion-card-title>
<core-format-text [text]="title" contextLevel="course" [contextInstanceId]="courseId" [adaptImg]="false">
</core-format-text>
</ion-card-title>
<ion-item class="size ion-text-wrap ion-no-padding"> <ion-item class="size ion-text-wrap ion-no-padding">
<ion-label> <ion-label>
<p class="item-heading ion-text-wrap">{{ 'addon.storagemanager.totaldownloads' | translate }}</p> <p class="item-heading ion-text-wrap">{{ 'addon.storagemanager.totaldownloads' | translate }}</p>

View File

@ -45,7 +45,10 @@
<ion-item *ngFor="let course of downloadedCourses" class="course" (click)="openCourse(course.id, course.title)" button <ion-item *ngFor="let course of downloadedCourses" class="course" (click)="openCourse(course.id, course.title)" button
detail="true"> detail="true">
<ion-label class="ion-text-wrap"> <ion-label class="ion-text-wrap">
<p class="item-heading">{{ course.title }}</p> <p class="item-heading">
<core-format-text [text]="course.title" contextLevel="course" [contextInstanceId]="course.id" [adaptImg]="false">
</core-format-text>
</p>
<p class="item-heading item-heading-secondary" *ngIf="course.isDownloading"> <p class="item-heading item-heading-secondary" *ngIf="course.isDownloading">
{{ 'core.downloading' | translate }} {{ 'core.downloading' | translate }}
</p> </p>