2 [value]=
"following" [lazy]=
"true" [paginator]=
"true" [totalRecords]=
"totalRecords" [rows]=
"rowsPerPage"
3 [sortField]=
"sort.field" [sortOrder]=
"sort.order" (onLazyLoad)=
"loadLazy($event)"
5 <ng-template pTemplate=
"caption">
9 type=
"text" name=
"table-filter" id=
"table-filter" i18n-placeholder
placeholder=
"Filter..."
10 (keyup)=
"onSearch($event.target.value)"
16 <ng-template pTemplate=
"header">
18 <th i18n
style=
"width: 60px">ID
</th>
21 <th i18n
pSortableColumn=
"createdAt">Created
<p-sortIcon field=
"createdAt"></p-sortIcon></th>
22 <th i18n
>Redundancy allowed
</th>
27 <ng-template pTemplate=
"body" let-follow
>
29 <td>{{ follow.id }}
</td>
30 <td>{{ follow.following.host }}
</td>
32 <td *
ngIf=
"follow.state === 'accepted'" i18n
>Accepted
</td>
33 <td *
ngIf=
"follow.state === 'pending'" i18n
>Pending
</td>
35 <td>{{ follow.createdAt }}
</td>
37 <my-redundancy-checkbox
38 [host]=
"follow.following.host" [redundancyAllowed]=
"follow.following.hostRedundancyAllowed"
39 ></my-redundancy-checkbox>
41 <td class=
"action-cell">
42 <my-delete-button (click)=
"removeFollowing(follow)"></my-delete-button>