2018-03-30 21:22:15 -04:00
< div * ngIf = "isLoading" >
< my-spinner > < / my-spinner >
< / div >
< div * ngIf = "!isLoading" >
2019-04-13 18:29:53 -04:00
< my-ibox boxTitle = "Bridges" >
2018-03-30 21:22:15 -04:00
< div class = "my-ibox-content" >
< p >
2020-10-23 07:30:20 -04:00
{{'Bridges provide a way for rooms to interact with and/or bring in events from a third party network. For example, an IRC bridge can allow IRC and matrix users to communicate with each other.' | translate}}
2018-03-30 21:22:15 -04:00
< / p >
< table class = "table table-striped table-condensed table-bordered" >
< thead >
< tr >
2020-10-23 07:30:20 -04:00
< th > {{'Name' | translate}}< / th >
< th > {{'Description' | translate}}< / th >
< th class = "text-center" style = "width: 120px;" > {{'Actions' | translate}}< / th >
2018-03-30 21:22:15 -04:00
< / tr >
< / thead >
< tbody >
< tr * ngIf = "!bridges || bridges.length === 0" >
2020-10-23 07:30:20 -04:00
< td colspan = "3" > < i > {{'No bridges.' | translate}}< / i > < / td >
2018-03-30 21:22:15 -04:00
< / tr >
< tr * ngFor = "let bridge of bridges trackById" >
2020-10-23 07:30:20 -04:00
< td > {{ bridge.displayName | translate }}< / td >
< td > {{ bridge.description | translate }}< / td >
2018-03-30 21:22:15 -04:00
< td class = "text-center" >
< span class = "editButton" [ routerLink ] = " [ bridge . type ] " title = "edit" >
< i class = "fa fa-pencil-alt" > < / i >
< / span >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
< / my-ibox >
2020-10-23 07:30:20 -04:00
< / div >