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