mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-14 16:20:04 +00:00
Gameyfin version is now displayed in footer
This commit is contained in:
@@ -1 +1 @@
|
||||
<p>© {{date| date:'yyyy'}} grimsi | <a href="{{githubUrl}}" target="_blank">GitHub</a></p>
|
||||
<p>© {{date| date:'yyyy'}} grimsi | Gameyfin v{{gameyfinVersion}} | <a href="{{githubUrl}}" target="_blank">GitHub</a></p>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import packageJson from 'package.json';
|
||||
|
||||
@Component({
|
||||
selector: 'app-footer',
|
||||
@@ -8,6 +9,7 @@ import { Component, OnInit } from '@angular/core';
|
||||
export class FooterComponent implements OnInit {
|
||||
|
||||
githubUrl: string = "https://github.com/grimsi/gameyfin";
|
||||
gameyfinVersion: string = packageJson.version;
|
||||
date: Date = new Date();
|
||||
|
||||
constructor() { }
|
||||
|
||||
Reference in New Issue
Block a user