Skip to content

Commit

Permalink
update for new certificate template
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnubansaltarento committed Aug 9, 2024
1 parent 6d9f283 commit 1f7a875
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
</ng-container>
<ng-container *ngIf="!skeletonLoader">
<div class="certificate_box" *ngIf="!content?.certificateObj?.certId">
<img src="/assets/icons/toc/no-certificate.svg" alt="No certificate image" />
<img *ngIf="!fromMarketPlace" src="/assets/icons/toc/no-certificate.svg" alt="No certificate image" />
<img *ngIf="fromMarketPlace" src="/assets/icons/toc/no-certificate-market-place.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 All @@ -45,9 +46,13 @@
<ng-container *ngIf="content?.certificateObj?.certId">
<div class="img-container">
<img class="celebration-animation" src="assets/images/animation/leaderboard_animation.gif"/>
<img class="ceritificate-image"
<img *ngIf="!fromMarketPlace" class="ceritificate-image"
[src]="'/assets/icons/toc/no-certificate.svg'"
alt="certificate image" />
<img *ngIf="fromMarketPlace" class="ceritificate-image"
[src]="'/assets/icons/toc/no-certificate-market-place.svg'"
alt="certificate image" />

<div [ngClass]="{'view-certificate': downloadCertificateBool, 'view-cert': !downloadCertificateBool}">
<button type="button" (click)="handleOpenCertificateDialog()">
<span *ngIf="!downloadCertificateBool">{{ 'apptoccontentcard.viewCertificate' | translate }}</span>
Expand Down

0 comments on commit 1f7a875

Please sign in to comment.