</h1>
<p-table
- [value]="blocklist" [paginator]="totalRecords > 0" [totalRecords]="totalRecords" [rows]="rowsPerPage" [rowsPerPageOptions]="rowsPerPageOptions"
- [sortField]="sort.field" [sortOrder]="sort.order" dataKey="id"
+ [value]="blocklist" [paginator]="totalRecords > 0" [totalRecords]="totalRecords" [rows]="rowsPerPage" [first]="pagination.start"
+ [rowsPerPageOptions]="rowsPerPageOptions" [sortField]="sort.field" [sortOrder]="sort.order" dataKey="id"
[lazy]="true" (onLazyLoad)="loadLazy($event)" [lazyLoadOnInit]="false"
[showCurrentPageReport]="true" i18n-currentPageReportTemplate
currentPageReportTemplate="Showing {{'{first}'}} to {{'{last}'}} of {{'{totalRecords}'}} blocked videos"
- (onPage)="onPage($event)" [expandedRowKeys]="expandedRows"
+ [expandedRowKeys]="expandedRows"
>
<ng-template pTemplate="caption">
<div class="caption">
- <div class="ml-auto">
+ <div class="ms-auto">
<my-advanced-input-filter [filters]="inputFilters" (search)="onSearch($event)"></my-advanced-input-filter>
</div>
</div>
<ng-template pTemplate="body" let-videoBlock let-expanded="expanded">
<tr>
<td *ngIf="!videoBlock.reason"></td>
- <td *ngIf="videoBlock.reason" class="expand-cell c-hand" [pRowToggler]="videoBlock" i18n-ngbTooltip ngbTooltip="More information" placement="top-left" container="body">
+ <td class="expand-cell" *ngIf="videoBlock.reason" [pRowToggler]="videoBlock">
<my-table-expander-icon [expanded]="expanded"></my-table-expander-icon>
</td>
</td>
<td>
- <span *ngIf="videoBlock.video.nsfw" class="badge badge-red" i18n>NSFW</span>
+ <span *ngIf="videoBlock.video.nsfw" class="pt-badge badge-red" i18n>NSFW</span>
</td>
<td>
- <span *ngIf="videoBlock.unfederated" class="badge badge-blue" i18n>Unfederated</span>
+ <span *ngIf="videoBlock.unfederated" class="pt-badge badge-blue" i18n>Unfederated</span>
</td>
<td>