2020-06-12 10:24:08 +00:00
|
|
|
<div *ngIf="user">
|
2020-06-24 11:08:13 +00:00
|
|
|
<div (click)="toggle($event)" class="rounded-circle menu-button" [title]="user.name">
|
|
|
|
<span>{{getLetter()}}</span>
|
2020-06-24 13:49:57 +00:00
|
|
|
<div class="menu hidden" [ngClass]="{'hidden':!showMenu}">
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="username">{{user.name}}</div>
|
|
|
|
<div><a href="#" (click)="logout($event)" i18n>logout</a></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-06-24 11:08:13 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-06-12 10:24:08 +00:00
|
|
|
</div>
|