X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Badmin%2Fmoderation%2Fvideo-abuse-list%2Fvideo-abuse-list.component.html;h=9e084cb73700de59b2f25518513688fc299320b4;hb=36004aa7b0de5cb69a452090770221b192a78eb8;hp=0374b70ef26c7c0e06fe44298565721e71bb19b8;hpb=af5767ffae41b2d5604e41ba9a7225c623dd6735;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.html b/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.html index 0374b70ef..9e084cb73 100644 --- a/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.html +++ b/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.html @@ -1,13 +1,26 @@ 0" [totalRecords]="totalRecords" [rows]="rowsPerPage" [rowsPerPageOptions]="rowsPerPageOptions" + [sortField]="sort.field" [sortOrder]="sort.order" (onLazyLoad)="loadLazy($event)" dataKey="id" [resizableColumns]="true" + [showCurrentPageReport]="true" i18n-currentPageReportTemplate + currentPageReportTemplate="Showing {{'{first}'}} to {{'{last}'}} of {{'{totalRecords}'}} reports" > + + + + + + + + - - - Reporter - Created + + + Reporter Video + Created State @@ -15,51 +28,164 @@ - - + + - - {{ createByString(videoAbuse.reporterAccount) }} + + + + + {{ videoAbuse.reporterAccount.displayName }} + {{ createByString(videoAbuse.reporterAccount) }} + + - {{ videoAbuse.createdAt }} - - - - {{ videoAbuse.video.name }} + + + + + + 1" + i18n-title title="This video has been reported multiple times." + >{{ videoAbuse.nth }}/{{ videoAbuse.count }} + + + + {{ videoAbuse.video.name }} + + + + by {{ videoAbuse.video.channel?.displayName }} on {{ videoAbuse.video.channel?.host }} + + - + + + Deleted + + + {{ videoAbuse.video.name }} + + + by {{ videoAbuse.video.channel?.displayName }} on {{ videoAbuse.video.channel?.host }} + + + + + {{ videoAbuse.createdAt }} + + + - + - - - Reason: - {{ videoAbuse.reason }} - - - Moderation comment: - {{ videoAbuse.moderationComment }} + + + + + + Reporter + + + + + {{ createByString(videoAbuse.reporterAccount) }} + + + + {videoAbuse.countReportsForReporter, plural, =1 {1 report} other {{{ videoAbuse.countReportsForReporter }} reports}} + + + + + Reportee + + + + + {{ videoAbuse.video.channel.ownerAccount ? createByString(videoAbuse.video.channel.ownerAccount) : '' }} + + + + {videoAbuse.countReportsForReportee, plural, =1 {1 report} other {{{ videoAbuse.countReportsForReportee }} reports}} + + + + + Updated + {{ videoAbuse.updatedAt | date: 'medium' }} + + + + + Report + + + + Note + + + + + + + + The video was {{ videoAbuse.video.deleted ? 'deleted' : 'blacklisted' }} + + + + + + + + + + No video abuses found matching current filters. + No video abuses found. + + + + - \ No newline at end of file +