]>
Commit | Line | Data |
---|---|---|
f595d394 C |
1 | <div class="admin-sub-header"> |
2 | <div class="admin-sub-title">Video abuses list</div> | |
897ec54d | 3 | </div> |
f595d394 | 4 | |
ab998f7b C |
5 | <p-table |
6 | [value]="videoAbuses" [lazy]="true" [paginator]="true" [totalRecords]="totalRecords" [rows]="rowsPerPage" | |
7 | [sortField]="sort.field" [sortOrder]="sort.order" (onLazyLoad)="loadLazy($event)" | |
f595d394 | 8 | > |
ab998f7b C |
9 | <ng-template pTemplate="header"> |
10 | <tr> | |
11 | <th>Reason</th> | |
12 | <th>Reporter</th> | |
13 | <th pSortableColumn="createdAt">Created <p-sortIcon field="createdAt"></p-sortIcon></th> | |
14 | <th>Video</th> | |
15 | </tr> | |
16 | </ng-template> | |
17 | ||
18 | <ng-template pTemplate="body" let-videoAbuse> | |
19 | <tr> | |
20 | <td>{{ videoAbuse.reason }}</td> | |
22b59e80 | 21 | <td>{{ videoAbuse.reporterUsername + '@' + videoAbuse.reporterServerHost }}</td> |
ab998f7b C |
22 | <td>{{ videoAbuse.createdAt }}</td> |
23 | <td> | |
24 | <a [routerLink]="getRouterVideoLink(videoAbuse.videoUUID)" title="Go to the video">{{ videoAbuse.videoName }}</a> | |
25 | </td> | |
26 | </tr> | |
27 | </ng-template> | |
28 | </p-table> |