Release 1.119.0 (#719)
This commit is contained in:
@@ -55,6 +55,8 @@ export class AccountPageComponent implements OnDestroy, OnInit {
|
||||
public price: number;
|
||||
public priceId: string;
|
||||
public snackBarRef: MatSnackBarRef<TextOnlySnackBar>;
|
||||
public trySubscriptionMail =
|
||||
'mailto:hi@ghostfol.io?Subject=Ghostfolio Premium Trial&body=Hello%0D%0DI am interested in Ghostfolio Premium. Can you please send me a coupon code to try it for some time?%0D%0DKind regards';
|
||||
public user: User;
|
||||
|
||||
private unsubscribeSubject = new Subject<void>();
|
||||
|
@@ -23,12 +23,12 @@
|
||||
name="diamond-outline"
|
||||
></ion-icon>
|
||||
</div>
|
||||
<div *ngIf="user?.subscription?.expiresAt">
|
||||
<div *ngIf="user?.subscription?.type === 'Premium'">
|
||||
Valid until {{ user?.subscription?.expiresAt | date:
|
||||
defaultDateFormat }}
|
||||
</div>
|
||||
<div
|
||||
*ngIf="hasPermissionForSubscription && !user?.subscription?.expiresAt"
|
||||
*ngIf="hasPermissionForSubscription && user?.subscription?.type === 'Basic'"
|
||||
>
|
||||
<button
|
||||
color="primary"
|
||||
@@ -48,8 +48,20 @@
|
||||
<span i18n> per year</span>
|
||||
</div>
|
||||
<a
|
||||
class="cursor-pointer d-block mt-2"
|
||||
*ngIf="!user?.subscription?.expiresAt"
|
||||
class="mr-2 my-2"
|
||||
mat-stroked-button
|
||||
[href]="trySubscriptionMail"
|
||||
><span i18n>Try Premium</span
|
||||
><ion-icon
|
||||
class="ml-1 text-muted"
|
||||
name="diamond-outline"
|
||||
></ion-icon
|
||||
></a>
|
||||
<a
|
||||
class="mr-2 my-2"
|
||||
i18n
|
||||
mat-stroked-button
|
||||
[routerLink]=""
|
||||
(click)="onRedeemCoupon()"
|
||||
>Redeem Coupon</a
|
||||
|
Reference in New Issue
Block a user