File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/core/components/user-avatar Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
< ng-container *ngIf ="avatarUrl ">
2
- < img class ="userpicture " *ngIf ="linkProfile " [url] ="avatarUrl " [alt] ="'core.pictureof' | translate:{$a: fullname} " core-external-content
3
- (error) =" loadImageError() " ( ariaButtonClick) ="gotoProfile($event) " [siteId] ="siteId ">
2
+ < img class ="userpicture " *ngIf ="linkProfile " [url] ="avatarUrl " [alt] ="fullname " core-external-content (error) =" loadImageError() "
3
+ (ariaButtonClick) ="gotoProfile($event) " [siteId] ="siteId ">
4
4
5
5
< img class ="userpicture " *ngIf ="!linkProfile " [url] ="avatarUrl " [alt] ="'core.pictureof' | translate:{$a: fullname} "
6
6
core-external-content (error) ="loadImageError() " aria-hidden ="true " [siteId] ="siteId ">
7
7
</ ng-container >
8
8
< ng-container *ngIf ="!avatarUrl && initials ">
9
- < div class ="userinitials " *ngIf ="linkProfile " [attr.aria-label] ="'core.pictureof' | translate:{$a: fullname} "
10
- [title] =" 'core.pictureof' | translate:{$a: fullname} " (ariaButtonClick) =" gotoProfile($event) " [ attr.data-initials] ="initials ">
9
+ < div class ="userinitials " *ngIf ="linkProfile " [attr.aria-label] ="fullname " [title] =" fullname " (ariaButtonClick) =" gotoProfile($event) "
10
+ [attr.data-initials] ="initials ">
11
11
</ div >
12
12
13
13
< div class ="userinitials " *ngIf ="!linkProfile " [attr.aria-label] ="'core.pictureof' | translate:{$a: fullname} "
You can’t perform that action at this time.
0 commit comments