Only display "upload video" in the menu if the user is logged in

This commit is contained in:
Chocobozzz 2016-04-08 19:58:57 +02:00
parent 02b72dc7f4
commit 0dde91ff15
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
<a [routerLink]="['VideosList']">Get videos</a>
</div>
<div id="panel_upload_video" class="panel_button">
<div id="panel_upload_video" class="panel_button" *ngIf="isLoggedIn">
<span class="glyphicon glyphicon-cloud-upload"></span>
<a [routerLink]="['VideosAdd']">Upload a video</a>
</div>