Merge branch 'feature/webtorrent-disabling' into develop
[oweals/peertube.git] / client / src / app / +admin / moderation / instance-blocklist / instance-server-blocklist.component.html
1 <p-table
2   [value]="blockedServers" [lazy]="true" [paginator]="true" [totalRecords]="totalRecords" [rows]="rowsPerPage"
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>