aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/app.component.html4
-rw-r--r--client/src/app/app.component.ts4
2 files changed, 2 insertions, 6 deletions
diff --git a/client/src/app/app.component.html b/client/src/app/app.component.html
index 057a4e19e..2660c5377 100644
--- a/client/src/app/app.component.html
+++ b/client/src/app/app.component.html
@@ -29,8 +29,8 @@
29 </div> 29 </div>
30 30
31 <footer class="row"> 31 <footer class="row">
32 <a href="https://joinpeertube.org" title="PeerTube website" target="_blank" rel="noopener noreferrer">PeerTube v{{ getServerVersionAndCommit() }}</a>&nbsp;-&nbsp; 32 <a href="https://joinpeertube.org" title="PeerTube website" target="_blank" rel="noopener noreferrer" i18n>Powered by PeerTube</a>&nbsp;-&nbsp;
33 <a href="https://github.com/Chocobozzz/PeerTube/blob/develop/LICENSE" title="PeerTube license" target="_blank" rel="noopener noreferrer">CopyLeft 2015-2019</a> 33 <a href="https://github.com/Chocobozzz/PeerTube/blob/develop/LICENSE" title="PeerTube license" target="_blank" rel="noopener noreferrer">CopyLeft 2015-2020</a>
34 </footer> 34 </footer>
35 </div> 35 </div>
36 </div> 36 </div>
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts
index 883f36514..082d3301d 100644
--- a/client/src/app/app.component.ts
+++ b/client/src/app/app.component.ts
@@ -111,10 +111,6 @@ export class AppComponent implements OnInit {
111 this.isMenuDisplayed = window.innerWidth >= 800 && !this.isMenuChangedByUser 111 this.isMenuDisplayed = window.innerWidth >= 800 && !this.isMenuChangedByUser
112 } 112 }
113 113
114 getServerVersionAndCommit () {
115 return this.serverService.getServerVersionAndCommit()
116 }
117
118 private initRouteEvents () { 114 private initRouteEvents () {
119 let resetScroll = true 115 let resetScroll = true
120 const eventsObs = this.router.events 116 const eventsObs = this.router.events