File tree Expand file tree Collapse file tree 3 files changed +18
-12
lines changed
libs/perun/components/src/lib Expand file tree Collapse file tree 3 files changed +18
-12
lines changed Original file line number Diff line number Diff line change 12
12
</ button >
13
13
</ mat-menu >
14
14
15
- < button mat-button [matMenuTriggerFor] ="menu ">
16
- < mat-icon class ="mb-1 me-3 " [ngStyle] ="{'color': iconColor, 'font-size': '24px'} ">
17
- person
18
- </ mat-icon >
19
- < span *ngIf ="user !== null " [ngStyle] ="{'color': textColor} " class ="d-none d-lg-inline ">
20
- {{user | userFullName}}
21
- </ span >
15
+ < button
16
+ mat-icon-button
17
+ *ngIf ="logoutEnabled "
18
+ (click) ="onLogOut() "
19
+ [matTooltip] ="'NAV.LOGOUT'|translate ">
20
+ < mat-icon > logout</ mat-icon >
22
21
</ button >
23
- < mat-menu #menu ="matMenu ">
24
- < button mat-menu-item *ngIf ="logoutEnabled " (click) ="onLogOut() ">
25
- {{'NAV.LOGOUT' | translate}}
26
- </ button >
27
- </ mat-menu >
28
22
</ div >
Original file line number Diff line number Diff line change 35
35
</ mat-menu >
36
36
</ div >
37
37
38
+ < span
39
+ *ngIf ="principal.user !== null "
40
+ [ngStyle] ="{'color': textColor} "
41
+ class ="d-none d-lg-inline displayed-name me-1 ">
42
+ {{principal.user | userFullName}}
43
+ </ span >
44
+
38
45
< button
39
46
*ngIf ="showNotifications "
40
47
[matTooltip] ="'NAV.NOTIFICATIONS_TOOLTIP'|translate "
Original file line number Diff line number Diff line change 50
50
align-items : center ;
51
51
padding-right : 16px ;
52
52
}
53
+
54
+ .displayed-name {
55
+ font-family : Roboto, ' Helvetica Neue' , sans-serif ;
56
+ font-size : 80% ;
57
+ }
You can’t perform that action at this time.
0 commit comments