diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-04-08 19:58:57 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-04-08 19:58:57 +0200 |
commit | 0dde91ff15ec3cb73d39da50b388e5e525160cb4 (patch) | |
tree | f20077ca99ee0d6fca045c35d3e29c55e46294aa /client | |
parent | 02b72dc7f451478f41275a902d9cd83de8935724 (diff) | |
download | PeerTube-0dde91ff15ec3cb73d39da50b388e5e525160cb4.tar.gz PeerTube-0dde91ff15ec3cb73d39da50b388e5e525160cb4.tar.zst PeerTube-0dde91ff15ec3cb73d39da50b388e5e525160cb4.zip |
Only display "upload video" in the menu if the user is logged in
Diffstat (limited to 'client')
-rw-r--r-- | client/angular/app/app.component.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/angular/app/app.component.html b/client/angular/app/app.component.html index 647697a0a..9f917e41f 100644 --- a/client/angular/app/app.component.html +++ b/client/angular/app/app.component.html | |||
@@ -31,7 +31,7 @@ | |||
31 | <a [routerLink]="['VideosList']">Get videos</a> | 31 | <a [routerLink]="['VideosList']">Get videos</a> |
32 | </div> | 32 | </div> |
33 | 33 | ||
34 | <div id="panel_upload_video" class="panel_button"> | 34 | <div id="panel_upload_video" class="panel_button" *ngIf="isLoggedIn"> |
35 | <span class="glyphicon glyphicon-cloud-upload"></span> | 35 | <span class="glyphicon glyphicon-cloud-upload"></span> |
36 | <a [routerLink]="['VideosAdd']">Upload a video</a> | 36 | <a [routerLink]="['VideosAdd']">Upload a video</a> |
37 | </div> | 37 | </div> |