Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Commit 5cd78f7

Browse files
authored
Merge pull request #439 from sinfo/my-card-fix
Fix my card error and rename 'My card' to 'My Activity'
2 parents 24e90c3 + 22d0879 commit 5cd78f7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/app/user/my-card/my-card.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div class="wrapper pad" *ngIf="signatures && signatures.companies">
44
<div class="row">
55
<h3 class="title">
6-
{{signatures.day | date:'EEEE':'+0100'}}'s card
6+
{{signatures.day | date:'EEEE':'+0100'}}'s Activity
77
</h3>
88
<h6 *ngIf="userSignatures && userSignatures.redeemed" class="title">
99
Already redeemed your prize.
@@ -16,10 +16,10 @@ <h5 [ngClass]="{allSignatures: numSignatures === signatures.capacity}">
1616
<i *ngIf="numSignatures === signatures.capacity" class="fa fa-check"></i>
1717
</h5>
1818
</div>
19-
<div class="alert alert-info promocode-info" *ngIf="!userSignatures.redeemed">
19+
<div class="alert alert-info promocode-info" *ngIf="!userSignatures || !userSignatures.redeemed">
2020
<b>Earn prizes</b>
21-
<span *ngIf="!numSignatures || numSignatures < signatures.capacity">: Visit 10 companies and get the chance to spin the wheel of fortune at SINFO stand.</span>
22-
<span *ngIf="numSignatures === signatures.capacity"><b> now:</b> You can now spin the wheel of fortune at SINFO stand.</span>
21+
<span *ngIf="!numSignatures || numSignatures < signatures.capacity">: Visit 10 companies and get the chance to spin the wheel of fortune at the frontdesk.</span>
22+
<span *ngIf="numSignatures === signatures.capacity"><b> now:</b> You can now spin the wheel of fortune at the frontdesk.</span>
2323
</div>
2424
</div>
2525
<div class="row">

src/app/user/user.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,8 @@ <h2 *ngIf="user && user.role === 'team'" matSubheader style="color: grey;">Atend
255255
<a *ngIf="user && user.role !== 'company'" mat-list-item routerLink="/user/my-card"
256256
routerLinkActive="navigation-link active" (click)="sidenav.toggle()">
257257
<div class="navigation-link">
258-
<mat-icon>school</mat-icon>
259-
<span class="list-item">My card</span>
258+
<mat-icon>timelapse</mat-icon>
259+
<span class="list-item">My Activity</span>
260260
</div>
261261
</a>
262262
<!-- <a *ngIf="user && user.role === 'team'" mat-list-item routerLink="/user/secret-codes" routerLinkActive="navigation-link active"

0 commit comments

Comments
 (0)