2 [value]=
"followers" [lazy]=
"true" [paginator]=
"true" [totalRecords]=
"totalRecords" [rows]=
"rowsPerPage"
3 [sortField]=
"sort.field" [sortOrder]=
"sort.order" (onLazyLoad)=
"loadLazy($event)"
5 <ng-template pTemplate=
"caption">
8 type=
"text" name=
"table-filter" id=
"table-filter" i18n-placeholder
placeholder=
"Filter..."
9 (keyup)=
"onSearch($event.target.value)"
14 <ng-template pTemplate=
"header">
16 <th i18n
style=
"width: 60px">ID
</th>
21 <th i18n
pSortableColumn=
"createdAt">Created
<p-sortIcon field=
"createdAt"></p-sortIcon></th>
25 <ng-template pTemplate=
"body" let-follow
>
27 <td>{{ follow.id }}
</td>
28 <td>{{ follow.score }}
</td>
29 <td>{{ follow.follower.name }}
</td>
30 <td>{{ follow.follower.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>