]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+admin/follows/following-list/following-list.component.html
Add short description in config
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / follows / following-list / following-list.component.html
1 <p-table
2 [value]="following" [lazy]="true" [paginator]="true" [totalRecords]="totalRecords" [rows]="rowsPerPage"
3 [sortField]="sort.field" [sortOrder]="sort.order" (onLazyLoad)="loadLazy($event)"
4 >
5 <ng-template pTemplate="header">
6 <tr>
7 <th style="width: 60px">ID</th>
8 <th>Host</th>
9 <th>State</th>
10 <th pSortableColumn="createdAt">Created <p-sortIcon field="createdAt"></p-sortIcon></th>
11 <th></th>
12 </tr>
13 </ng-template>
14
15 <ng-template pTemplate="body" let-follow>
16 <tr>
17 <td>{{ follow.id }}</td>
18 <td>{{ follow.following.host }}</td>
19 <td>{{ follow.state }}</td>
20 <td>{{ follow.createdAt }}</td>
21 <td class="action-cell">
22 <my-delete-button (click)="removeFollowing(follow)"></my-delete-button>
23 </td>
24 </tr>
25 </ng-template>
26 </p-table>