2024-01-26 13:15:10 +01:00
|
|
|
<img *ngIf="!isLocalUrl && !iconSVG" [src]="icon" [alt]="showAlt ? modNameTranslated : ''" [attr.role]="!showAlt ? 'presentation' : null"
|
|
|
|
class="core-module-icon" core-external-content [component]="linkIconWithComponent ? modname : null"
|
2021-12-01 15:55:25 +01:00
|
|
|
[componentId]="linkIconWithComponent ? componentId : null" (error)="loadFallbackIcon()">
|
2024-01-26 13:15:10 +01:00
|
|
|
<img *ngIf="isLocalUrl && !iconSVG" [src]="icon" [alt]="showAlt ? modNameTranslated : ''" [attr.role]="!showAlt ? 'presentation' : null"
|
|
|
|
class="core-module-icon" (error)="loadFallbackIcon()">
|
|
|
|
<div *ngIf="iconSVG" class="core-module-icon" [innerHTML]="iconSVG" [attr.aria-label]="showAlt ? modNameTranslated : ''"
|
|
|
|
[attr.role]="!showAlt ? 'presentation' : null"></div>
|