Skip to content

Commit ea9afcc

Browse files
committed
Fixing the warning icon placement.
1 parent e036462 commit ea9afcc

File tree

1 file changed

+20
-10
lines changed

1 file changed

+20
-10
lines changed

eform-client/src/app/plugins/modules/time-planning-pn/components/plannings/time-plannings-table/time-plannings-table.component.html

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,21 @@
1717
<ng-container *ngIf="row['avatarUrl'] === null">
1818
<div class="progress-circle" [style.--percentage]="row['percentageCompleted']">
1919
<div class="avatar" [style.background-image]="'url(https://www.gravatar.com/avatar/?d=retro&s=32)'"></div>
20+
<ng-container *ngIf="row['softwareVersionIsValid'] === false">
21+
<span [matTooltip]="'Needs update!' | translate " class="material-symbols-outlined">
22+
<mat-icon class="red-warning-avatar-icon">error</mat-icon>
23+
</span>
24+
</ng-container>
2025
</div>
2126
</ng-container>
2227
<ng-container *ngIf="row['avatarUrl'] !== null">
2328
<div class="progress-circle" [style.--percentage]="row['percentageCompleted']">
2429
<div class="avatar" [style.background-image]="'url(' + row['avatarUrl'] + ')'"></div>
30+
<ng-container *ngIf="row['softwareVersionIsValid'] === false">
31+
<span [matTooltip]="'Needs update!' | translate " class="material-symbols-outlined">
32+
<mat-icon class="red-warning-avatar-icon">error</mat-icon>
33+
</span>
34+
</ng-container>
2535
</div>
2636
</ng-container>
2737
<br>
@@ -57,11 +67,6 @@
5767
</span>
5868
</ng-container>
5969
{{row['softwareVersion']}}
60-
<div *ngIf="row['softwareVersionIsValid'] === false">
61-
<span [matTooltip]="'Needs update!' | translate " class="material-symbols-outlined">
62-
<mat-icon class="neutral-icon red-text">error</mat-icon>
63-
</span>
64-
</div>
6570
</div>
6671
</div>
6772
</div>
@@ -74,11 +79,21 @@
7479
<ng-container *ngIf="row['avatarUrl'] === null">
7580
<div class="progress-circle" [style.--percentage]="row['percentageCompleted']">
7681
<div class="avatar" [style.background-image]="'url(https://www.gravatar.com/avatar/?d=retro&s=32)'"></div>
82+
<ng-container *ngIf="row['softwareVersionIsValid'] === false">
83+
<span [matTooltip]="'Needs update!' | translate " class="material-symbols-outlined">
84+
<mat-icon class="red-warning-avatar-icon">error</mat-icon>
85+
</span>
86+
</ng-container>
7787
</div>
7888
</ng-container>
7989
<ng-container *ngIf="row['avatarUrl'] !== null">
8090
<div class="progress-circle" [style.--percentage]="row['percentageCompleted']">
8191
<div class="avatar" [style.background-image]="'url(' + row['avatarUrl'] + ')'"></div>
92+
<ng-container *ngIf="row['softwareVersionIsValid'] === false">
93+
<span [matTooltip]="'Needs update!' | translate " class="material-symbols-outlined">
94+
<mat-icon class="red-warning-avatar-icon">error</mat-icon>
95+
</span>
96+
</ng-container>
8297
</div>
8398
</ng-container>
8499
<br>
@@ -113,11 +128,6 @@
113128
</span>
114129
</ng-container>
115130
{{row['softwareVersion']}}
116-
<div *ngIf="row['softwareVersionIsValid'] === false">
117-
<span [matTooltip]="'Needs update!' | translate " class="material-symbols-outlined" >
118-
<mat-icon class="neutral-icon red-text">error</mat-icon>
119-
</span>
120-
</div>
121131
</div>
122132
</div>
123133
</div>

0 commit comments

Comments
 (0)