2017-12-15 01:41:56 -05:00
|
|
|
<div *ngIf="isError">
|
|
|
|
<div class="alert alert-danger">{{ errorMessage }}</div>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="isLoading">
|
|
|
|
<my-spinner></my-spinner>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div *ngIf="!isLoading && !isError">
|
2018-05-13 01:51:58 -04:00
|
|
|
<div class="stickerpacks" *ngIf="hasStickerPacks">
|
|
|
|
Looking for your sticker packs? <a routerLink="stickerpicker">Click here</a>.
|
|
|
|
</div>
|
|
|
|
|
2017-12-15 01:41:56 -05:00
|
|
|
<!-- ------------------------ -->
|
|
|
|
<!-- EMPTY/ENCRYPTED STATES -->
|
|
|
|
<!-- ------------------------ -->
|
|
|
|
<div class="alert alert-warning" *ngIf="hasIntegrations() && isRoomEncrypted">
|
|
|
|
<h4>This room is encrypted</h4>
|
|
|
|
<strong>Integrations are not encrypted!</strong>
|
|
|
|
This means that some information about yourself and the
|
|
|
|
room may be leaked to the bot, bridge, or widget. This information includes the room ID, your display
|
2018-05-13 01:51:58 -04:00
|
|
|
name, your username, your avatar, information about Riot, and other similar details. Add integrations
|
|
|
|
with caution.
|
2017-12-15 01:41:56 -05:00
|
|
|
</div>
|
|
|
|
<div class="alert alert-warning" *ngIf="!hasIntegrations() && isRoomEncrypted">
|
|
|
|
<h4>This room is encrypted</h4>
|
|
|
|
There are currently no integrations which support encrypted rooms. Sorry about that!
|
|
|
|
</div>
|
|
|
|
<div class="alert alert-warning" *ngIf="!hasIntegrations() && !isRoomEncrypted">
|
|
|
|
<h4>No integrations available</h4>
|
|
|
|
This room does not have any compatible integrations. Please contact the server owner if you're seeing
|
2018-05-13 01:51:58 -04:00
|
|
|
this message.
|
2017-12-15 01:41:56 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- ------------------------ -->
|
|
|
|
<!-- CATEGORIES -->
|
|
|
|
<!-- ------------------------ -->
|
|
|
|
<div *ngFor="let category of getCategories()">
|
2019-04-13 18:29:53 -04:00
|
|
|
<my-ibox *ngIf="getIntegrationsIn(category).length > 0" boxTitle="{{category}}" [isCollapsible]="true">
|
2017-12-22 23:08:10 -05:00
|
|
|
<div class="my-ibox-content">
|
|
|
|
<my-integration-bag [integrations]="getIntegrationsIn(category)" (integrationClicked)="modifyIntegration($event)"></my-integration-bag>
|
2017-12-15 01:41:56 -05:00
|
|
|
</div>
|
2017-12-22 23:08:10 -05:00
|
|
|
</my-ibox>
|
2017-12-15 01:41:56 -05:00
|
|
|
</div>
|
|
|
|
</div>
|