1 <ng-container *
ngIf=
"actor">
4 <img [ngClass]=
"{ channel: isChannel() }" [src]=
"actor.avatarUrl" alt=
"Avatar" />
6 <div class=
"actor-img-edit-container">
8 <div *
ngIf=
"!hasAvatar()" class=
"actor-img-edit-button" [ngbTooltip]=
"avatarFormat" placement=
"right" container=
"body">
9 <my-global-icon iconName=
"upload"></my-global-icon>
10 <label class=
"sr-only" for=
"avatarfile" i18n
>Upload a new avatar
</label>
11 <input #avatarfileInput
type=
"file" title=
" " name=
"avatarfile" id=
"avatarfile" [accept]=
"avatarExtensions" (change)=
"onAvatarChange(avatarfileInput)"/>
14 <div *
ngIf=
"hasAvatar()" class=
"actor-img-edit-button" #
avatarPopover=
"ngbPopover" [ngbPopover]=
"avatarEditContent" popoverClass=
"popover-avatar-info" autoClose=
"outside" placement=
"right">
15 <my-global-icon iconName=
"edit"></my-global-icon>
16 <label class=
"sr-only" for=
"avatarMenu" i18n
>Change your avatar
</label>
22 <div class=
"actor-info">
23 <div class=
"actor-info-names">
24 <div class=
"actor-info-display-name">{{ actor.displayName }}
</div>
25 <div class=
"actor-info-username">{{ actor.name }}
</div>
27 <div i18n
class=
"actor-info-followers">{{ actor.followersCount }} subscribers
</div>
32 <ng-template #avatarEditContent
>
33 <div class=
"dropdown-item c-hand" [ngbTooltip]=
"avatarFormat" placement=
"right" container=
"body">
34 <my-global-icon iconName=
"upload"></my-global-icon>
35 <span for=
"avatarfile" i18n
>Upload a new avatar
</span>
36 <input #avatarfileInput
type=
"file" title=
" " name=
"avatarfile" id=
"avatarfile" [accept]=
"avatarExtensions" (change)=
"onAvatarChange(avatarfileInput)"/>
38 <div class=
"dropdown-item c-hand" (click)=
"deleteAvatar()" (key.enter)=
"deleteAvatar()">
39 <my-global-icon iconName=
"delete"></my-global-icon>
40 <span i18n
>Remove avatar
</span>