From 5e617c1542fbca9a9af947acbb8e97dda8e201a5 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Mon, 30 Jun 2025 19:23:48 +0200 Subject: [PATCH] Minor improvements --- .../holding-detail-dialog.html | 490 +++++++++--------- 1 file changed, 244 insertions(+), 246 deletions(-) diff --git a/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html b/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html index bf9888b06..666815fc8 100644 --- a/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html +++ b/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html @@ -37,7 +37,7 @@ @@ -46,289 +46,287 @@
Overview
-
-
-
+
+
+
+ + @if ( + SymbolProfile?.currency && + data.baseCurrency !== SymbolProfile?.currency + ) { + Change with currency effect + } @else { + Change + } + +
+
+ + @if ( + SymbolProfile?.currency && + data.baseCurrency !== SymbolProfile?.currency + ) { + Performance with currency effect + } @else { + Performance + } + +
+
+ Average Unit Price +
+
+ Market Price +
+
+ Minimum Price +
+
+ Maximum Price +
+
+ Quantity +
+
+ Investment +
+ @if ( + dividendInBaseCurrency && user?.settings?.isExperimentalFeatures + ) {
Dividend - @if ( - SymbolProfile?.currency && - data.baseCurrency !== SymbolProfile?.currency - ) { - Change with currency effect - } @else { - Change - } -
- @if ( - SymbolProfile?.currency && - data.baseCurrency !== SymbolProfile?.currency - ) { - Performance with currency effect - } @else { - Performance - } - -
-
- Average Unit Price -
-
- Market Price -
-
- Minimum Price -
-
- Maximum Price -
-
- Quantity -
-
- InvestmentDividend Yield
+ } +
+ Fees +
+
+ First Activity +
+
+ + @if (transactionCount === 1) { + Activity + } @else { + Activities + } + +
+
+
+ Asset Class +
+
+ Asset Sub Class +
+ @if ( + SymbolProfile?.countries?.length > 0 || + SymbolProfile?.sectors?.length > 0 + ) { @if ( - dividendInBaseCurrency && user?.settings?.isExperimentalFeatures + SymbolProfile?.countries?.length === 1 && + SymbolProfile?.sectors?.length === 1 ) {
DividendSector
-
- Dividend Yield -
- } -
- Fees -
-
- First Activity -
-
- - @if (transactionCount === 1) { - Activity - } @else { - Activities - } - -
-
-
- Asset Class -
-
- Asset Sub Class -
- @if ( - SymbolProfile?.countries?.length > 0 || - SymbolProfile?.sectors?.length > 0 - ) { - @if ( - SymbolProfile?.countries?.length === 1 && - SymbolProfile?.sectors?.length === 1 - ) { + @if (SymbolProfile?.countries?.length === 1) {
SectorCountry
- @if (SymbolProfile?.countries?.length === 1) { -
- Country -
- } - } @else { -
-
Sectors
- -
-
-
Countries
- -
} - } -
- Symbol -
-
- ISIN -
- - @if (dataProviderInfo) { -
-
- +
Sectors
+ +
+
+
Countries
+ -
} + } +
+ Symbol +
+
+ ISIN
+ + @if (dataProviderInfo) { +
+
+ +
+
+ }