|
|
@ -66,11 +66,13 @@ |
|
|
|
</th> |
|
|
|
<td *matCellDef="let element" class="d-none d-lg-table-cell px-2" mat-cell> |
|
|
|
<div class="d-flex justify-content-end"> |
|
|
|
<gf-value |
|
|
|
[isDate]="true" |
|
|
|
[locale]="locale" |
|
|
|
[value]="element?.performances?.allTimeHigh?.date" |
|
|
|
/> |
|
|
|
@if (element?.performances?.allTimeHigh?.date) { |
|
|
|
<gf-value |
|
|
|
[isDate]="true" |
|
|
|
[locale]="locale" |
|
|
|
[value]="element?.performances?.allTimeHigh?.date" |
|
|
|
/> |
|
|
|
} |
|
|
|
</div> |
|
|
|
</td> |
|
|
|
</ng-container> |
|
|
@ -83,18 +85,20 @@ |
|
|
|
<span class="d-block d-sm-none text-nowrap" i18n>from ATH</span> |
|
|
|
</th> |
|
|
|
<td *matCellDef="let element" class="px-2 text-right" mat-cell> |
|
|
|
<gf-value |
|
|
|
class="d-inline-block justify-content-end" |
|
|
|
[isPercent]="true" |
|
|
|
[locale]="locale" |
|
|
|
[ngClass]="{ |
|
|
|
'text-danger': |
|
|
|
element?.performances?.allTimeHigh?.performancePercent < 0, |
|
|
|
'text-success': |
|
|
|
element?.performances?.allTimeHigh?.performancePercent === 0 |
|
|
|
}" |
|
|
|
[value]="element?.performances?.allTimeHigh?.performancePercent" |
|
|
|
/> |
|
|
|
@if (isNumber(element?.performances?.allTimeHigh?.performancePercent)) { |
|
|
|
<gf-value |
|
|
|
class="d-inline-block justify-content-end" |
|
|
|
[isPercent]="true" |
|
|
|
[locale]="locale" |
|
|
|
[ngClass]="{ |
|
|
|
'text-danger': |
|
|
|
element?.performances?.allTimeHigh?.performancePercent < 0, |
|
|
|
'text-success': |
|
|
|
element?.performances?.allTimeHigh?.performancePercent === 0 |
|
|
|
}" |
|
|
|
[value]="element?.performances?.allTimeHigh?.performancePercent" |
|
|
|
/> |
|
|
|
} |
|
|
|
</td> |
|
|
|
</ng-container> |
|
|
|
|
|
|
|