Skip to content

Commit

Permalink
Merge pull request #2403 from vishnubansaltarento/cios-changes-for-mweb
Browse files Browse the repository at this point in the history
Cios changes for mweb
  • Loading branch information
vishnubansaltarento authored Aug 6, 2024
2 parents 84f7c7c + caacdf2 commit 5a9209c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</ng-container>
<ng-container *ngIf="!skeletonLoader">
<div class="text-sm font-semibold cursor-pointer truncate-3">{{ content?.name }}</div>
<div class="text-xs font-light">{{ 'apptocsinglepage.completedCourse' | translate }} {{ content?.completedOn ?
<div class="text-xs font-light" *ngIf="content?.completedOn">{{ 'apptocsinglepage.completedCourse' | translate }} {{ content?.completedOn ?
(content?.completedOn | date: 'd MMM, y') : 'NA' }}</div>
</ng-container>
</div>
Expand All @@ -32,7 +32,8 @@
</ng-container>
<ng-container *ngIf="!skeletonLoader">
<div class="certificate_box" *ngIf="!content?.certificateObj?.certData">
<img src="/assets/icons/toc/no-certificate.svg" alt="No certificate image" />
<img *ngIf="fromMarketPlace" src="/assets/icons/toc/no-certificate.jpg" alt="No certificate image" />
<img *ngIf="!fromMarketPlace" src="/assets/icons/toc/no-certificate.svg" alt="No certificate image" />
<div class="flex items-center certificate_overlay">
<div class="flex flex-col text-center gap-1 p-4 text-white mt-4">
<div>{{'apptochome.certificationTakesTime' | translate }}</div>
Expand Down

0 comments on commit 5a9209c

Please sign in to comment.