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 justify-content-center p-3">
|
|
<div *ngIf="user.settings.viewMode !== 'ZEN'" class="mb-3 text-center">
|
|
<gf-toggle
|
|
[defaultValue]="dateRange"
|
|
[isLoading]="positions === undefined"
|
|
[options]="dateRangeOptions"
|
|
(change)="onChangeDateRange($event.value)"
|
|
></gf-toggle>
|
|
</div>
|
|
<div class="row">
|
|
<div class="align-items-center col-xs-12 col-md-8 offset-md-2">
|
|
<mat-card class="p-0">
|
|
<mat-card-content>
|
|
<gf-positions
|
|
[baseCurrency]="user?.settings?.baseCurrency"
|
|
[deviceType]="deviceType"
|
|
[hasPermissionToCreateOrder]="hasPermissionToCreateOrder"
|
|
[locale]="user?.settings?.locale"
|
|
[positions]="positions"
|
|
[range]="dateRange"
|
|
></gf-positions>
|
|
</mat-card-content>
|
|
</mat-card>
|
|
<div *ngIf="hasPermissionToCreateOrder" class="text-center">
|
|
<a
|
|
class="mt-3"
|
|
i18n
|
|
mat-stroked-button
|
|
[routerLink]="['/portfolio', 'activities']"
|
|
>Manage Activities</a
|
|
>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|