Release 1.119.0 (#719)

pull/720/head
Thomas Kaul 3 years ago committed by GitHub
parent 02809a529e
commit 68d07cc8d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## 1.119.0 - 21.02.2022
### Added
- Added a trial for the subscription
## 1.118.0 - 20.02.2022 ## 1.118.0 - 20.02.2022
### Changed ### Changed

@ -55,6 +55,8 @@ export class AccountPageComponent implements OnDestroy, OnInit {
public price: number; public price: number;
public priceId: string; public priceId: string;
public snackBarRef: MatSnackBarRef<TextOnlySnackBar>; 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; public user: User;
private unsubscribeSubject = new Subject<void>(); private unsubscribeSubject = new Subject<void>();

@ -23,12 +23,12 @@
name="diamond-outline" name="diamond-outline"
></ion-icon> ></ion-icon>
</div> </div>
<div *ngIf="user?.subscription?.expiresAt"> <div *ngIf="user?.subscription?.type === 'Premium'">
Valid until {{ user?.subscription?.expiresAt | date: Valid until {{ user?.subscription?.expiresAt | date:
defaultDateFormat }} defaultDateFormat }}
</div> </div>
<div <div
*ngIf="hasPermissionForSubscription && !user?.subscription?.expiresAt" *ngIf="hasPermissionForSubscription && user?.subscription?.type === 'Basic'"
> >
<button <button
color="primary" color="primary"
@ -48,8 +48,20 @@
<span i18n> per year</span> <span i18n> per year</span>
</div> </div>
<a <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 i18n
mat-stroked-button
[routerLink]="" [routerLink]=""
(click)="onRedeemCoupon()" (click)="onRedeemCoupon()"
>Redeem Coupon</a >Redeem Coupon</a

@ -1,6 +1,6 @@
{ {
"name": "ghostfolio", "name": "ghostfolio",
"version": "1.118.0", "version": "1.119.0",
"homepage": "https://ghostfol.io", "homepage": "https://ghostfol.io",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"scripts": { "scripts": {

Loading…
Cancel
Save