Browse Source
Feature/improve wording of data providers management (#4617 )
* Improve wording
pull/4616/head^2
Thomas Kaul
2 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
19 additions and
27 deletions
apps/client/src/app/components/admin-settings/admin-settings.component.ts
apps/client/src/app/components/admin-settings/ghostfolio-premium-api-dialog/ghostfolio-premium-api-dialog.html
apps/client/src/app/components/admin-settings/ghostfolio-premium-api-dialog/interfaces/interfaces.ts
@ -25,6 +25,7 @@ import { DeviceDetectorService } from 'ngx-device-detector';
import { catchError , filter , of , Subject , takeUntil } from 'rxjs' ;
import { GfGhostfolioPremiumApiDialogComponent } from './ghostfolio-premium-api-dialog/ghostfolio-premium-api-dialog.component' ;
import { GhostfolioPremiumApiDialogParams } from './ghostfolio-premium-api-dialog/interfaces/interfaces' ;
@Component ( {
changeDetection : ChangeDetectionStrategy.OnPush ,
@ -101,9 +102,8 @@ export class AdminSettingsComponent implements OnDestroy, OnInit {
autoFocus : false ,
data : {
deviceType : this.deviceType ,
pricingUrl : this.pricingUrl ,
user : this.user
} ,
pricingUrl : this.pricingUrl
} as GhostfolioPremiumApiDialogParams ,
height : this.deviceType === 'mobile' ? '98vh' : undefined ,
width : this.deviceType === 'mobile' ? '100vw' : '50rem'
}
@ -7,8 +7,8 @@
/>
< div class = "text-center" mat-dialog-content >
< p class = "gf-text-wrap-balance mb-1 " >
T he official
< p class = "gf-text-wrap-balance" >
Early access to t he official
< a
class="align-items-center d-inline-flex"
target="_blank"
@ -18,32 +18,27 @@
< / a >
data provider < strong > for self-hosters< / strong > , offering
< strong > 80’000+ tickers< / strong > from over < strong > 50 exchanges< / strong > , is
coming soon!
< / p >
< p i18n >
Want to stay updated? Click below to get notified as soon as it’s available.
ready now!
< / p >
< div >
< a
color="primary"
href="mailto:hi@ghostfol.io?Subject=Ghostfolio Premium Data Provider& body=Hello%0D%0DPlease notify me as soon as the Ghostfolio Premium Data Provider is available. %0D%0DKind regards"
href="mailto:hi@ghostfol.io?Subject=Ghostfolio Premium Data Provider& body=Hello%0D%0DI am interested in the Ghostfolio Premium data provider. Could you please give me early access so I can try it for some time? %0D%0DKind regards"
i18n
mat-flat-button
>Notify me< /a
>Get Early Access< /a
>
< div >
< small class = "text-muted" i18n > or< / small >
< / div >
< button
color="accent"
i18n
mat-stroked-button
(click)="onSetGhostfolioApiKey()"
>
@if (data.user?.settings?.isExperimentalFeatures) {
< div >
< small class = "text-muted" i18n > or< / small >
< / div >
< button
color="accent"
i18n
mat-stroked-button
(click)="onSetGhostfolioApiKey()"
>
I have an API key
< / button >
}
I have an API key
< / button >
< / div >
< / div >
@ -1,7 +1,4 @@
import { User } from '@ghostfolio/common/interfaces' ;
export interface GhostfolioPremiumApiDialogParams {
deviceType : string ;
pricingUrl : string ;
user : User ;
}