Feature/improve layout of position detail dialog (#877)
* Improve layout * Update changelog
This commit is contained in:
parent
04044f8720
commit
c2a1cbd20f
@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
- Improved the layout of the position detail dialog
|
||||||
- Upgraded `yahoo-finance2` from version `2.3.1` to `2.3.2`
|
- Upgraded `yahoo-finance2` from version `2.3.1` to `2.3.2`
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
@ -168,7 +168,7 @@
|
|||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-template #charts>
|
<ng-template #charts>
|
||||||
<div class="col-md-6 mb-3">
|
<div class="col-md-6 mb-3">
|
||||||
<div class="h4" i18n>Sectors</div>
|
<div class="h5" i18n>Sectors</div>
|
||||||
<gf-portfolio-proportion-chart
|
<gf-portfolio-proportion-chart
|
||||||
[baseCurrency]="user?.settings?.baseCurrency"
|
[baseCurrency]="user?.settings?.baseCurrency"
|
||||||
[isInPercent]="true"
|
[isInPercent]="true"
|
||||||
@ -179,7 +179,7 @@
|
|||||||
></gf-portfolio-proportion-chart>
|
></gf-portfolio-proportion-chart>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-6 mb-3">
|
<div class="col-md-6 mb-3">
|
||||||
<div class="h4" i18n>Countries</div>
|
<div class="h5" i18n>Countries</div>
|
||||||
<gf-portfolio-proportion-chart
|
<gf-portfolio-proportion-chart
|
||||||
[baseCurrency]="user?.settings?.baseCurrency"
|
[baseCurrency]="user?.settings?.baseCurrency"
|
||||||
[isInPercent]="true"
|
[isInPercent]="true"
|
||||||
@ -192,32 +192,35 @@
|
|||||||
</ng-template>
|
</ng-template>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="mb-3">
|
<div *ngIf="orders?.length > 0" class="row">
|
||||||
<div class="h4 mb-0" i18n>Activities</div>
|
<div class="col mb-3">
|
||||||
<gf-activities-table
|
<div class="h5 mb-0" i18n>Activities</div>
|
||||||
*ngIf="orders?.length > 0"
|
<gf-activities-table
|
||||||
[activities]="orders"
|
[activities]="orders"
|
||||||
[baseCurrency]="data.baseCurrency"
|
[baseCurrency]="data.baseCurrency"
|
||||||
[deviceType]="data.deviceType"
|
[deviceType]="data.deviceType"
|
||||||
[hasPermissionToCreateActivity]="false"
|
[hasPermissionToCreateActivity]="false"
|
||||||
[hasPermissionToExportActivities]="!hasImpersonationId"
|
[hasPermissionToExportActivities]="!hasImpersonationId"
|
||||||
[hasPermissionToFilter]="false"
|
[hasPermissionToFilter]="false"
|
||||||
[hasPermissionToImportActivities]="false"
|
[hasPermissionToImportActivities]="false"
|
||||||
[hasPermissionToOpenDetails]="false"
|
[hasPermissionToOpenDetails]="false"
|
||||||
[locale]="data.locale"
|
[locale]="data.locale"
|
||||||
[showActions]="false"
|
[showActions]="false"
|
||||||
[showSymbolColumn]="false"
|
[showSymbolColumn]="false"
|
||||||
(export)="onExport()"
|
(export)="onExport()"
|
||||||
></gf-activities-table>
|
></gf-activities-table>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div *ngIf="tags?.length > 0">
|
<div *ngIf="tags?.length > 0" class="row">
|
||||||
<div class="h4" i18n>Tags</div>
|
<div class="col">
|
||||||
<mat-chip-list>
|
<div class="h5" i18n>Tags</div>
|
||||||
<mat-chip *ngFor="let tag of tags">{{ tag.name }}</mat-chip>
|
<mat-chip-list>
|
||||||
</mat-chip-list>
|
<mat-chip *ngFor="let tag of tags">{{ tag.name }}</mat-chip>
|
||||||
|
</mat-chip-list>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user