From 846bd352f5736b6036bd3ac5893d57f38e393b6c Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sun, 17 Mar 2024 10:02:44 +0100 Subject: [PATCH] Add symbol and ISIN --- .../position-detail-dialog.html | 121 ++++++++++-------- 1 file changed, 70 insertions(+), 51 deletions(-) diff --git a/apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html b/apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html index f87d11e04..3a8694c83 100644 --- a/apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html +++ b/apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html @@ -171,11 +171,13 @@ size="medium" [locale]="data.locale" [value]="transactionCount" - >ActivityActivities + @if (transactionCount === 1) { + Activity + } @else { + Activities + } +
Asset Sub Class
- + @if ( + SymbolProfile?.countries?.length > 0 || + SymbolProfile?.sectors?.length > 0 + ) { @if ( SymbolProfile?.countries?.length === 1 && SymbolProfile?.sectors?.length === 1 ) { -
+
Sector
-
- Country -
+ @if (SymbolProfile?.countries?.length === 1) { +
+ Country +
+ } } @else {
Sectors
@@ -248,13 +247,32 @@ />
} - -
-
- - -
+ } +
+ Symbol
+
+ ISIN +
+ + @if (dataProviderInfo) { +
+
+ +
+
+ }
-
-
-
Tags
- - {{ - tag.name - }} - + @if (tags?.length > 0) { +
+
+
Tags
+ + {{ + tag.name + }} + +
-
+ } -
-
-
- Report Data Glitch + @if ( + activities?.length > 0 && data.hasPermissionToReportDataGlitch === true + ) { + -
+ }