diff --git a/apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.html b/apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.html index ccaac128a..171b8065d 100644 --- a/apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.html +++ b/apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.html @@ -131,50 +131,48 @@ - -
- Sector -
-
- Country -
-
- -
-
Sectors
- -
-
-
Countries
- -
-
+ @if (assetProfile?.countries?.length === 1 && + assetProfile?.sectors?.length === 1 ) { +
+ Sector +
+
+ Country +
+ } @else { +
+
Sectors
+ +
+
+
Countries
+ +
+ }
diff --git a/apps/client/src/app/components/home-overview/home-overview.html b/apps/client/src/app/components/home-overview/home-overview.html index 6bec27243..503cc5899 100644 --- a/apps/client/src/app/components/home-overview/home-overview.html +++ b/apps/client/src/app/components/home-overview/home-overview.html @@ -1,10 +1,8 @@
-
+ @if(hasPermissionToCreateOrder && historicalDataItems?.length === 0) { +

Welcome to Ghostfolio

Ready to take control of your personal finances?

@@ -60,43 +58,43 @@
- -
-
-
- -
-
-
-
-
- +
+
+
- +
+
+
+ +
+
+ }
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 9f88977ac..7d2421ad4 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 @@ -186,57 +186,52 @@ - -
- Sector -
-
+ Sector +
+
+ Country - Country -
-
- -
-
Sectors
- -
-
-
Countries
- -
-
+
+ } @else { +
+
Sectors
+ +
+
+
Countries
+ +
+ }

diff --git a/apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.html b/apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.html index 7710ab6b6..d4df4dd18 100644 --- a/apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.html +++ b/apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.html @@ -24,84 +24,83 @@ >
- -
- - Holding - - {{ uniqueAssetForm.controls['uniqueAsset']?.value?.name - }} - - {{ holding.name }} -
- {{ holding.symbol | gfSymbol }} · {{ holding.currency - }} -
-
- -
-
- -
-
-
- + + {{ holding.name }} +
+ {{ holding.symbol | gfSymbol }} · {{ holding.currency + }} +
+ + +
-

- - The following file formats are supported: - CSV - or - JSON - -

-
+ + } @else { +
+ +

+ + The following file formats are supported: + CSV + or + JSON + +

+
+ }
@@ -115,79 +114,78 @@ >
- - -
- - -
-
- - - - - -
-
- -
-
{{ message }}
+ @if(errorMessages?.length === 0) { + +
+ + +
+ } @else { + + + + +
+
+
- - -
{{ details[i] | json }}
- - -
- - -
- +
{{ message }}
+
+
+
+
{{ details[i] | json }}
+
+
+
+ + +
+ }