1 <div class=
"admin-sub-header">
2 <div i18n
class=
"form-sub-title">Blacklisted videos
</div>
6 [value]=
"blacklist" [lazy]=
"true" [paginator]=
"true" [totalRecords]=
"totalRecords" [rows]=
"rowsPerPage"
7 [sortField]=
"sort.field" [sortOrder]=
"sort.order" (onLazyLoad)=
"loadLazy($event)"
9 <ng-template pTemplate=
"header">
11 <th i18n
pSortableColumn=
"name">Name
<p-sortIcon field=
"name"></p-sortIcon></th>
12 <th i18n
>Description
</th>
13 <th i18n
pSortableColumn=
"views">Views
<p-sortIcon field=
"views"></p-sortIcon></th>
16 <th i18n
pSortableColumn=
"createdAt">Created
<p-sortIcon field=
"createdAt"></p-sortIcon></th>
21 <ng-template pTemplate=
"body" let-videoBlacklist
>
23 <td>{{ videoBlacklist.name }}
</td>
24 <td>{{ videoBlacklist.description }}
</td>
25 <td>{{ videoBlacklist.views }}
</td>
26 <td>{{ videoBlacklist.nsfw }}
</td>
27 <td>{{ videoBlacklist.uuid }}
</td>
28 <td>{{ videoBlacklist.createdAt }}
</td>
29 <td class=
"action-cell">
30 <my-delete-button i18n-label
label=
"Unblacklist" (click)=
"removeVideoFromBlacklist(videoBlacklist)"></my-delete-button>