Browse Source

add variables from env in footer

creation-form
Baptiste Lemoine 2 years ago
parent
commit
b0026fabc4
  1. 6
      src/app/core/components/footer/footer.component.html
  2. 2
      src/app/core/components/footer/footer.component.ts

6
src/app/core/components/footer/footer.component.html

@ -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
>

2
src/app/core/components/footer/footer.component.ts

@ -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 {}

Loading…
Cancel
Save