]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/shared/shared-account-avatar/account-avatar.component.html
Translated using Weblate (Kabyle)
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-account-avatar / account-avatar.component.html
1 <ng-template #img>
2 <img [class]="class" [src]="avatarUrl" i18n-alt alt="Account avatar" />
3 </ng-template>
4
5 <a *ngIf="account && href" [href]="href" target="_blank" rel="noopener noreferrer" [title]="title">
6 <ng-template *ngTemplateOutlet="img"></ng-template>
7 </a>
8
9 <a *ngIf="account && internalHref" [routerLink]="internalHref" [title]="title">
10 <ng-template *ngTemplateOutlet="img"></ng-template>
11 </a>
12
13 <ng-container *ngIf="!account || (!href && !internalHref)">
14 <ng-template *ngTemplateOutlet="img"></ng-template>
15 </ng-container>