diff options
Diffstat (limited to 'client/src/app/app.component.html')
-rw-r--r-- | client/src/app/app.component.html | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/client/src/app/app.component.html b/client/src/app/app.component.html index f2acffea4..ea4b31421 100644 --- a/client/src/app/app.component.html +++ b/client/src/app/app.component.html | |||
@@ -18,9 +18,20 @@ | |||
18 | <menu class="col-md-2 col-sm-3 col-xs-3"> | 18 | <menu class="col-md-2 col-sm-3 col-xs-3"> |
19 | <div class="panel-block"> | 19 | <div class="panel-block"> |
20 | <div id="panel-user-login" class="panel-button"> | 20 | <div id="panel-user-login" class="panel-button"> |
21 | <span *ngIf="!isLoggedIn" > | ||
22 | <span class="hidden-xs glyphicon glyphicon-log-in"></span> | ||
23 | <a [routerLink]="['/login']">Login</a> | ||
24 | </span> | ||
25 | |||
26 | <span *ngIf="isLoggedIn"> | ||
27 | <span class="hidden-xs glyphicon glyphicon-log-out"></span> | ||
28 | <a *ngIf="isLoggedIn" (click)="logout()">Logout</a> | ||
29 | </span> | ||
30 | </div> | ||
31 | |||
32 | <div *ngIf="isLoggedIn" id="panel-user-account" class="panel-button"> | ||
21 | <span class="hidden-xs glyphicon glyphicon-user"></span> | 33 | <span class="hidden-xs glyphicon glyphicon-user"></span> |
22 | <a *ngIf="!isLoggedIn" [routerLink]="['/login']">Login</a> | 34 | <a [routerLink]="['/account']">My account</a> |
23 | <a *ngIf="isLoggedIn" (click)="logout()">Logout</a> | ||
24 | </div> | 35 | </div> |
25 | </div> | 36 | </div> |
26 | 37 | ||