]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+admin/follows/following-list/following-list.component.html
Fix quota translations
[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 i18n style="width: 60px">ID</th>
8 <th i18n>Host</th>
9 <th i18n>State</th>
10 <th i18n pSortableColumn="createdAt">Created <p-sortIcon field="createdAt"></p-sortIcon></th>
11 <th i18n>Redundancy allowed</th>
12 <th></th>
13 </tr>
14 </ng-template>
15
16 <ng-template pTemplate="body" let-follow>
17 <tr>
18 <td>{{ follow.id }}</td>
19 <td>{{ follow.following.host }}</td>
20
21 <td *ngIf="follow.state === 'accepted'" i18n>Accepted</td>
22 <td *ngIf="follow.state === 'pending'" i18n>Pending</td>
23
24 <td>{{ follow.createdAt }}</td>
25 <td>
26 <my-redundancy-checkbox
27 [host]="follow.following.host" [redundancyAllowed]="follow.following.hostRedundancyAllowed"
28 ></my-redundancy-checkbox>
29 </td>
30 <td class="action-cell">
31 <my-delete-button (click)="removeFollowing(follow)"></my-delete-button>
32 </td>
33 </tr>
34 </ng-template>
35 </p-table>