-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
04310a1
commit 5f92453
Showing
3 changed files
with
14 additions
and
7 deletions.
There are no files selected for viewing
14 changes: 8 additions & 6 deletions
14
projects/aca-content/src/lib/components/common/user-info/user-info.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
<div mat-menu-item class="aca-user-info" [routerLink]="['/profile']" title="{{ 'APP.TOOLTIPS.MY_PROFILE' | translate }}"> | ||
<ng-container *ngIf="user$ | async as user"> | ||
<button class="aca-user-info-button"> | ||
<div>{{ user.initials || 'U' }}</div> | ||
</button> | ||
<div class="aca-user-info-details"> | ||
<div>{{ user.userName }}</div> | ||
<div>{{ user.email }}</div> | ||
<div class="aca-user-info-content"> | ||
<button class="aca-user-info-button"> | ||
<div>{{ user.initials || 'U' }}</div> | ||
</button> | ||
<div class="aca-user-info-details"> | ||
<div>{{ user.userName }}</div> | ||
<div>{{ user.email }}</div> | ||
</div> | ||
</div> | ||
</ng-container> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters