Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/ghostfolio/commit/b5e2a3aa91f113878d265cef164307e76e5b6b8b
You should set ROOT_URL correctly, otherwise the web may not work correctly.
6 changed files with
23 additions and
26 deletions
@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Harmonized the use of permissions on the about page
- Harmonized the use of permissions on the landing page
- Improved the language localization for German (`de`)
- Improved the language localization for Portuguese (`pt`)
@ -89,7 +89,7 @@
< li >
< a i18n [ routerLink ] = " [ ' / about ' , ' license ' ] " > License< / a >
< / li >
< li * ngIf = "hasPermissionForS ubscription ">
< li * ngIf = "hasPermissionForS tatistics ">
< a [ routerLink ] = " [ ' / open ' ] " > Open Startup< / a >
< / li >
< li * ngIf = "hasPermissionForSubscription" >
@ -33,6 +33,7 @@ export class AppComponent implements OnDestroy, OnInit {
public currentYear = new Date ( ) . getFullYear ( ) ;
public deviceType : string ;
public hasPermissionForBlog : boolean ;
public hasPermissionForStatistics : boolean ;
public hasPermissionForSubscription : boolean ;
public hasPermissionToAccessFearAndGreedIndex : boolean ;
public info : InfoItem ;
@ -70,6 +71,11 @@ export class AppComponent implements OnDestroy, OnInit {
permissions . enableSubscription
) ;
this . hasPermissionForStatistics = hasPermission (
this . info ? . globalPermissions ,
permissions . enableStatistics
) ;
this . hasPermissionToAccessFearAndGreedIndex = hasPermission (
this . info ? . globalPermissions ,
permissions . enableFearAndGreedIndex
@ -15,6 +15,7 @@ import { takeUntil } from 'rxjs/operators';
} )
export class AboutOverviewPageComponent implements OnDestroy , OnInit {
public hasPermissionForBlog : boolean ;
public hasPermissionForStatistics : boolean ;
public hasPermissionForSubscription : boolean ;
public isLoggedIn : boolean ;
public user : User ;
@ -34,6 +35,11 @@ export class AboutOverviewPageComponent implements OnDestroy, OnInit {
permissions . enableBlog
) ;
this . hasPermissionForStatistics = hasPermission (
globalPermissions ,
permissions . enableStatistics
) ;
this . hasPermissionForSubscription = hasPermission (
globalPermissions ,
permissions . enableSubscription
@ -19,9 +19,11 @@
title="GNU Affero General Public License"
>AGPL-3.0 license< /a
>
and we share aggregated
< a title = "Open Startup" [ routerLink ] = " [ ' / open ' ] " > key metrics< / a >
of the platform’ s performance. The project has been initiated by
< ng-container * ngIf = "hasPermissionForStatistics" >
and we share aggregated
< a title = "Open Startup" [ routerLink ] = " [ ' / open ' ] " > key metrics< / a >
of the platform’ s performance< /ng-container
>. The project has been initiated by
< a href = "https://dotsilver.ch" title = "Website of Thomas Kaul"
>Thomas Kaul< /a
>
@ -44,14 +44,13 @@
< div * ngIf = "hasPermissionForStatistics" class = "row mb-5" >
< div
*ngIf="hasPermissionForSubscription"
class="col-md-4 d-flex my-1"
[ngClass]="{ 'justify-content-center': this.deviceType !== 'mobile' }"
>
< a
class="d-block"
title="Ghostfolio in Numbers: Monthly Active Users (MAU)"
[routerLink]="['/about ']"
[routerLink]="['/open ']"
>
< gf-value
icon="people-outline"
@ -61,24 +60,6 @@
>
< / a >
< / div >
< div
*ngIf="!hasPermissionForSubscription"
class="col-md-4 d-flex my-1"
[ngClass]="{ 'justify-content-center': this.deviceType !== 'mobile' }"
>
< a
class="d-block"
title="Ghostfolio in Numbers: Contributors on GitHub"
[routerLink]="['/about']"
>
< gf-value
icon="people-outline"
size="large"
[value]="statistics?.gitHubContributors ?? '-'"
>Contributors on GitHub< /gf-value
>
< / a >
< / div >
< div
class="col-md-4 d-flex my-1"
[ngClass]="{ 'justify-content-center': this.deviceType !== 'mobile' }"
@ -86,7 +67,7 @@
< a
class="d-block"
title="Ghostfolio in Numbers: Stars on GitHub"
[routerLink]="['/about ']"
[routerLink]="['/open ']"
>
< gf-value
icon="star-outline"
@ -103,7 +84,7 @@
< a
class="d-block"
title="Ghostfolio in Numbers: Pulls on Docker Hub"
[routerLink]="['/about ']"
[routerLink]="['/open ']"
>
< gf-value
icon="cloud-download-outline"