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>
|
|
|
|
<div *ngIf="showMenu" class="card">
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="username">{{user.name}}</div>
|
|
|
|
<div><a href="#" (click)="logout($event)" i18n>logout</a></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-06-12 10:24:08 +00:00
|
|
|
</div>
|