]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+admin/follows/followers-list/followers-list.component.html
Add users search filter
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / follows / followers-list / followers-list.component.html
CommitLineData
ab998f7b
C
1<p-table
2 [value]="followers" [lazy]="true" [paginator]="true" [totalRecords]="totalRecords" [rows]="rowsPerPage"
3 [sortField]="sort.field" [sortOrder]="sort.order" (onLazyLoad)="loadLazy($event)"
04e0fc48 4>
ab998f7b
C
5 <ng-template pTemplate="header">
6 <tr>
b1d40cff
C
7 <th i18n style="width: 60px">ID</th>
8 <th i18n>Score</th>
9 <th i18n>Name</th>
10 <th i18n>Host</th>
11 <th i18n>State</th>
12 <th i18n pSortableColumn="createdAt">Created <p-sortIcon field="createdAt"></p-sortIcon></th>
ab998f7b
C
13 </tr>
14 </ng-template>
15
16 <ng-template pTemplate="body" let-follow>
17 <tr>
18 <td>{{ follow.id }}</td>
19 <td>{{ follow.score }}</td>
20 <td>{{ follow.follower.name }}</td>
21 <td>{{ follow.follower.host }}</td>
3827c3b3
C
22
23 <td *ngIf="follow.state === 'accepted'" i18n>Accepted</td>
24 <td *ngIf="follow.state === 'pending'" i18n>Pending</td>
25
ab998f7b
C
26 <td>{{ follow.createdAt }}</td>
27 </tr>
28 </ng-template>
29</p-table>