All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
15 lines
706 B
HTML
15 lines
706 B
HTML
<div>
|
|
<div (click)="toggle($event)" class="rounded-circle menu-button hidden" [ngClass]="{'hidden':!user}">
|
|
<span *ngIf="user"><fm-avatar [user]="user" size="40"></fm-avatar></span>
|
|
<div class="menu hidden" [ngClass]="{'hidden':!showMenu}">
|
|
<div class="card" *ngIf="user">
|
|
<div class="card-body">
|
|
<div class="username">{{user.name}}</div>
|
|
<div><a href="#" (click)="logout($event)" i18n>logout</a></div>
|
|
</div>
|
|
</div>
|
|
<router-outlet name="user-menu"></router-outlet>
|
|
</div>
|
|
</div>
|
|
</div>
|