]>
Commit | Line | Data |
---|---|---|
af5767ff C |
1 | <div class="admin-sub-header"> |
2 | <div i18n class="form-sub-title">Muted instances</div> | |
3 | </div> | |
4 | ||
5 | <p-table | |
92ea70a7 | 6 | [value]="blockedServers" [lazy]="true" [paginator]="true" [totalRecords]="totalRecords" [rows]="rowsPerPage" |
af5767ff C |
7 | [sortField]="sort.field" [sortOrder]="sort.order" (onLazyLoad)="loadLazy($event)" |
8 | > | |
9 | ||
10 | <ng-template pTemplate="header"> | |
11 | <tr> | |
12 | <th i18n>Instance</th> | |
13 | <th i18n pSortableColumn="createdAt">Muted at <p-sortIcon field="createdAt"></p-sortIcon></th> | |
14 | <th></th> | |
15 | </tr> | |
16 | </ng-template> | |
17 | ||
18 | <ng-template pTemplate="body" let-serverBlock> | |
19 | <tr> | |
20 | <td>{{ serverBlock.blockedServer.host }}</td> | |
21 | <td>{{ serverBlock.createdAt }}</td> | |
22 | <td class="action-cell"> | |
23 | <button class="unblock-button" (click)="unblockServer(serverBlock)" i18n>Unmute</button> | |
24 | </td> | |
25 | </tr> | |
26 | </ng-template> | |
27 | </p-table> |