add var apptitle in landing

This commit is contained in:
Tykayn 2022-02-03 14:08:03 +01:00 committed by tykayn
parent 85c0e5ec9e
commit f8eea43782
2 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,7 @@
{{ 'config.landing_title' | translate }} {{ 'config.landing_title' | translate }}
</h2> </h2>
<p class="subtitle"> <p class="subtitle">
{{ 'config.landing_subtitle' | translate }} {{ 'config.landing_subtitle' | translate: { AppTitle: AppTitle } }}
</p> </p>
<div class="columns"> <div class="columns">
<div class="column"> <div class="column">

View File

@ -13,8 +13,10 @@ import { Title } from '@angular/platform-browser';
}) })
export class HomeComponent { export class HomeComponent {
public environment = environment; public environment = environment;
public AppTitle = environment.appTitle;
public nonexistent_email = ''; public nonexistent_email = '';
public email_sent = false; public email_sent = false;
constructor( constructor(
@Inject(DOCUMENT) private document: any, @Inject(DOCUMENT) private document: any,
public storageService: StorageService, public storageService: StorageService,