matrix-dimension/web/app/integration-bag/integration-bag.component.html
2021-12-09 15:44:15 -07:00

12 lines
747 B
HTML

<div class="integration-bag">
<div class="integration" *ngFor="let integration of integrations" (click)="onClick(integration)">
<img class="integration-avatar" [src]="getSafeUrl(integration.avatarUrl)"/>
<div class="integration-name">{{integration.displayName | translate}}</div>
<div class="integration-description">{{ integration.description | translate }}</div>
<div class="integration-offline error-text" *ngIf="!integration.isOnline"><i class="fa fa-exclamation-triangle"></i></div>
<div class="bot-toggle" *ngIf="integration.category === 'bot'">
<ui-switch [checked]="integration._inRoom" [disabled]="integration._isUpdating" size="small"></ui-switch>
</div>
</div>
</div>