mirror of https://github.com/ghostfolio/ghostfolio
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.1 KiB
35 lines
1.1 KiB
<div class="container p-0">
|
|
<div class="row no-gutters">
|
|
<div class="col">
|
|
<ng-container *ngIf="positions === undefined">
|
|
<gf-position [isLoading]="true" />
|
|
</ng-container>
|
|
<ng-container *ngIf="positions !== undefined">
|
|
<ng-container *ngIf="hasPositions">
|
|
<gf-position
|
|
*ngFor="let position of positionsWithPriority"
|
|
[baseCurrency]="baseCurrency"
|
|
[deviceType]="deviceType"
|
|
[locale]="locale"
|
|
[position]="position"
|
|
[range]="range"
|
|
/>
|
|
<gf-position
|
|
*ngFor="let position of positionsRest"
|
|
[baseCurrency]="baseCurrency"
|
|
[deviceType]="deviceType"
|
|
[locale]="locale"
|
|
[position]="position"
|
|
[range]="range"
|
|
/>
|
|
</ng-container>
|
|
<div
|
|
*ngIf="hasPermissionToCreateOrder && !hasPositions"
|
|
class="p-3 text-center"
|
|
>
|
|
<gf-no-transactions-info-indicator [hasBorder]="false" />
|
|
</div>
|
|
</ng-container>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|