From f8eea43782f9d877ebf9bedf5016f6627137f961 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Thu, 3 Feb 2022 14:08:03 +0100 Subject: [PATCH] add var apptitle in landing --- src/app/core/components/home/home.component.html | 2 +- src/app/core/components/home/home.component.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/core/components/home/home.component.html b/src/app/core/components/home/home.component.html index b4b19e5d..600cb0e8 100644 --- a/src/app/core/components/home/home.component.html +++ b/src/app/core/components/home/home.component.html @@ -7,7 +7,7 @@ {{ 'config.landing_title' | translate }}

- {{ 'config.landing_subtitle' | translate }} + {{ 'config.landing_subtitle' | translate: { AppTitle: AppTitle } }}

diff --git a/src/app/core/components/home/home.component.ts b/src/app/core/components/home/home.component.ts index bda8fab6..b878ab39 100644 --- a/src/app/core/components/home/home.component.ts +++ b/src/app/core/components/home/home.component.ts @@ -13,8 +13,10 @@ import { Title } from '@angular/platform-browser'; }) export class HomeComponent { public environment = environment; + public AppTitle = environment.appTitle; public nonexistent_email = ''; public email_sent = false; + constructor( @Inject(DOCUMENT) private document: any, public storageService: StorageService,