|
10 | 10 | </div>
|
11 | 11 | <div class="card-content">
|
12 | 12 | <div class="upper-card">
|
13 |
| - <div class="subtext"> |
14 |
| - {{ cardData.typeLabel }} |
| 13 | + <div class="row"> |
| 14 | + <div class="subtext"> |
| 15 | + {{ cardData.typeLabel }} |
| 16 | + </div> |
| 17 | + </div> |
| 18 | + <div class="row"> |
| 19 | + <span |
| 20 | + class="ellipsis" |
| 21 | + [id]="cardData.id" |
| 22 | + [matTooltip]="cardData.titleTooltip" |
| 23 | + (mouseover)="onMouseHover(cardData.id)" |
| 24 | + (focus)="onMouseHover(cardData.id)" |
| 25 | + [matTooltipDisabled]="!cardData.verticalOutBound" |
| 26 | + >{{ cardData.title }}</span |
| 27 | + > |
| 28 | + <span class="high-priority" *ngIf="cardData.highPriority">!</span> |
15 | 29 | </div>
|
16 |
| - <span |
17 |
| - class="ellipsis" |
18 |
| - [id]="cardData.id" |
19 |
| - [matTooltip]="cardData.titleTooltip" |
20 |
| - (mouseover)="onMouseHover(cardData.id)" |
21 |
| - (focus)="onMouseHover(cardData.id)" |
22 |
| - [matTooltipDisabled]="!cardData.verticalOutBound" |
23 |
| - >{{ cardData.title }}</span |
24 |
| - > |
25 |
| - <span class="high-priority" *ngIf="cardData.highPriority">!</span> |
26 |
| - <div class="labels"> |
27 |
| - <app-application-type-pill |
28 |
| - *ngFor="let type of cardData.labels" |
29 |
| - [type]="type" |
30 |
| - [useShortLabel]="true" |
31 |
| - ></app-application-type-pill> |
| 30 | + <div class="row"> |
| 31 | + <div class="labels"> |
| 32 | + <app-application-type-pill |
| 33 | + *ngFor="let type of cardData.labels" |
| 34 | + [type]="type" |
| 35 | + [useShortLabel]="true" |
| 36 | + ></app-application-type-pill> |
| 37 | + <ng-container *ngIf="isConditionCard && !isInConditionBoard"> |
| 38 | + <app-application-type-pill |
| 39 | + [type]="getStatusPill('CONDITION')" |
| 40 | + [useShortLabel]="true" |
| 41 | + ></app-application-type-pill> |
| 42 | + <app-application-type-pill |
| 43 | + *ngIf="isModification" |
| 44 | + [type]="getStatusPill('MODIFICATION')" |
| 45 | + [useShortLabel]="true" |
| 46 | + ></app-application-type-pill> |
| 47 | + <app-application-type-pill |
| 48 | + *ngIf="isReconsideration" |
| 49 | + [type]="getStatusPill('RECONSIDERATION')" |
| 50 | + [useShortLabel]="true" |
| 51 | + ></app-application-type-pill> |
| 52 | + </ng-container> |
| 53 | + </div> |
32 | 54 | </div>
|
33 | 55 | </div>
|
34 | 56 | <div class="lower-card">
|
35 |
| - <div *ngIf="!isConditionCard"> |
36 |
| - <div |
37 |
| - *ngIf="cardData.activeDays !== undefined" |
38 |
| - class="day-count active-days center" |
39 |
| - matTooltip="Active days: {{ cardData.activeDays }} " |
40 |
| - > |
41 |
| - <mat-icon>calendar_month</mat-icon> |
42 |
| - <span *ngIf="!cardData.maxActiveDays || cardData.activeDays < cardData.maxActiveDays" class="center"> |
43 |
| - {{ cardData.activeDays }} |
44 |
| - </span> |
45 |
| - <span *ngIf="cardData.maxActiveDays && cardData.activeDays >= cardData.maxActiveDays" class="center"> |
46 |
| - {{ cardData.maxActiveDays }}+ |
47 |
| - </span> |
48 |
| - </div> |
49 |
| - <div |
50 |
| - *ngIf="cardData.pausedDays !== undefined" |
51 |
| - class="day-count center" |
52 |
| - matTooltip="Paused days: {{ cardData.pausedDays }} " |
53 |
| - > |
54 |
| - <mat-icon>pause</mat-icon> |
55 |
| - <span class="center">{{ cardData.pausedDays }}</span> |
56 |
| - </div> |
57 |
| - <div *ngIf="cardData.showDueDate && cardData.dueDate" class="due-date center"> |
58 |
| - <span class="center">Due: {{ cardData.dueDate | momentFormat }}</span> |
59 |
| - </div> |
60 |
| - <div *ngIf="cardData.activeDays && cardData.dueDate !== undefined" class="due-date center"> |
61 |
| - <span *ngIf="!cardData.maxActiveDays || cardData.activeDays < cardData.maxActiveDays" class="center" |
62 |
| - >Due: {{ cardData.dueDate | momentFormat }}</span |
| 57 | + <div class="left-card"> |
| 58 | + <div *ngIf="!isConditionCard"> |
| 59 | + <div |
| 60 | + *ngIf="cardData.activeDays !== undefined" |
| 61 | + class="day-count active-days center" |
| 62 | + matTooltip="Active days: {{ cardData.activeDays }} " |
63 | 63 | >
|
64 |
| - <span *ngIf="cardData.maxActiveDays && cardData.activeDays >= cardData.maxActiveDays" class="center red-text" |
65 |
| - >Overdue</span |
| 64 | + <mat-icon>calendar_month</mat-icon> |
| 65 | + <span *ngIf="!cardData.maxActiveDays || cardData.activeDays < cardData.maxActiveDays" class="center"> |
| 66 | + {{ cardData.activeDays }} |
| 67 | + </span> |
| 68 | + <span *ngIf="cardData.maxActiveDays && cardData.activeDays >= cardData.maxActiveDays" class="center"> |
| 69 | + {{ cardData.maxActiveDays }}+ |
| 70 | + </span> |
| 71 | + </div> |
| 72 | + <div |
| 73 | + *ngIf="cardData.pausedDays !== undefined" |
| 74 | + class="day-count center" |
| 75 | + matTooltip="Paused days: {{ cardData.pausedDays }} " |
66 | 76 | >
|
| 77 | + <mat-icon>pause</mat-icon> |
| 78 | + <span class="center">{{ cardData.pausedDays }}</span> |
| 79 | + </div> |
| 80 | + <div *ngIf="cardData.showDueDate && cardData.dueDate" class="due-date center"> |
| 81 | + <span class="center">Due: {{ cardData.dueDate | momentFormat }}</span> |
| 82 | + </div> |
| 83 | + <div *ngIf="cardData.activeDays && cardData.dueDate !== undefined" class="due-date center"> |
| 84 | + <span *ngIf="!cardData.maxActiveDays || cardData.activeDays < cardData.maxActiveDays" class="center" |
| 85 | + >Due: {{ cardData.dueDate | momentFormat }}</span |
| 86 | + > |
| 87 | + <span |
| 88 | + *ngIf="cardData.maxActiveDays && cardData.activeDays >= cardData.maxActiveDays" |
| 89 | + class="center red-text" |
| 90 | + >Overdue</span |
| 91 | + > |
| 92 | + </div> |
67 | 93 | </div>
|
68 |
| - </div> |
69 | 94 |
|
70 |
| - <div class="condition-status-pill"> |
71 |
| - <app-application-type-pill *ngIf="isExpired" [type]="getStatusPill('EXPIRED')"></app-application-type-pill> |
72 |
| - <app-application-type-pill *ngIf="isPastDue" [type]="getStatusPill('PASTDUE')"></app-application-type-pill> |
| 95 | + <div class="condition-status-pill" *ngIf="isConditionCard && isInConditionBoard"> |
| 96 | + <app-application-type-pill *ngIf="isExpired" [type]="getStatusPill('EXPIRED')"></app-application-type-pill> |
| 97 | + <app-application-type-pill *ngIf="isPastDue" [type]="getStatusPill('PASTDUE')"></app-application-type-pill> |
| 98 | + </div> |
73 | 99 | </div>
|
74 | 100 |
|
75 |
| - <div class="flag-avatar-container"> |
76 |
| - <mat-icon |
77 |
| - *ngIf="cardData.cardType === CardType.APP_CON && cardData.decisionIsFlagged" |
78 |
| - svgIcon="personal_places" |
79 |
| - class="flag-icon" |
80 |
| - ></mat-icon> |
| 101 | + <div class="right-card"> |
| 102 | + <div class="flag-avatar-container"> |
| 103 | + <mat-icon |
| 104 | + *ngIf="cardData.cardType === CardType.APP_CON && cardData.decisionIsFlagged" |
| 105 | + svgIcon="personal_places" |
| 106 | + class="flag-icon" |
| 107 | + ></mat-icon> |
81 | 108 |
|
82 |
| - <app-avatar-circle |
83 |
| - *ngIf="cardData.assignee" |
84 |
| - [initials]="cardData.assignee.initials || ''" |
85 |
| - [name]="cardData.assignee.prettyName" |
86 |
| - ></app-avatar-circle> |
| 109 | + <app-avatar-circle |
| 110 | + *ngIf="cardData.assignee" |
| 111 | + [initials]="cardData.assignee.initials || ''" |
| 112 | + [name]="cardData.assignee.prettyName" |
| 113 | + ></app-avatar-circle> |
| 114 | + </div> |
87 | 115 | </div>
|
88 | 116 | </div>
|
89 | 117 | </div>
|
|
0 commit comments