add variables from env in footer

This commit is contained in:
Baptiste Lemoine 2020-10-31 16:44:09 +01:00
parent c3972694cb
commit b0026fabc4
2 changed files with 6 additions and 2 deletions

View File

@ -1,8 +1,10 @@
<footer class="footer">
<div class="content has-text-centered">
<p>
Framadate - libérez vos sondages.
<i class="fa fa-copyleft"></i> Logiciel libre sous licence AGPL v3.
<img class="app-logo logo" *ngIf="env.appLogo" src="{{ env.appLogo }}" alt="{{ env.appTitle }}" />
{{ env.appTitle }} - {{ env.appVersion }} - libérez vos sondages. <i class="fa fa-copyleft"></i> Logiciel
libre sous licence AGPL v3.
<a href="https://framagit.org/framasoft/framadate/funky-framadate-front">
<i class="fa fa-gitlab"></i> Sources</a
>

View File

@ -1,4 +1,5 @@
import { Component, OnInit } from '@angular/core';
import { environment } from '../../../../environments/environment';
@Component({
selector: 'app-footer',
@ -6,6 +7,7 @@ import { Component, OnInit } from '@angular/core';
styleUrls: ['./footer.component.scss'],
})
export class FooterComponent implements OnInit {
public env = environment;
constructor() {}
ngOnInit(): void {}