diff options
Diffstat (limited to 'client/src/app/shared/shared-account-avatar/account-avatar.component.html')
-rw-r--r-- | client/src/app/shared/shared-account-avatar/account-avatar.component.html | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/client/src/app/shared/shared-account-avatar/account-avatar.component.html b/client/src/app/shared/shared-account-avatar/account-avatar.component.html deleted file mode 100644 index 083daccfb..000000000 --- a/client/src/app/shared/shared-account-avatar/account-avatar.component.html +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | <ng-template #img> | ||
2 | <img *ngIf="avatarUrl || !initial" [class]="class" [src]="avatarUrl || defaultAvatarUrl" i18n-alt alt="Account avatar" /> | ||
3 | <div *ngIf="!avatarUrl && initial" [class]="class"> | ||
4 | <span>{{ initial }}</span> | ||
5 | </div> | ||
6 | </ng-template> | ||
7 | |||
8 | <a *ngIf="account && href" [href]="href" target="_blank" rel="noopener noreferrer" [title]="title"> | ||
9 | <ng-template *ngTemplateOutlet="img"></ng-template> | ||
10 | </a> | ||
11 | |||
12 | <a *ngIf="account && internalHref" [routerLink]="internalHref" [title]="title"> | ||
13 | <ng-template *ngTemplateOutlet="img"></ng-template> | ||
14 | </a> | ||
15 | |||
16 | <ng-container *ngIf="!account || (!href && !internalHref)"> | ||
17 | <ng-template *ngTemplateOutlet="img"></ng-template> | ||
18 | </ng-container> | ||