diff options
Diffstat (limited to 'client/src/app/shared/shared-abuse-list/abuse-list-table.component.html')
-rw-r--r-- | client/src/app/shared/shared-abuse-list/abuse-list-table.component.html | 40 |
1 files changed, 15 insertions, 25 deletions
diff --git a/client/src/app/shared/shared-abuse-list/abuse-list-table.component.html b/client/src/app/shared/shared-abuse-list/abuse-list-table.component.html index 4bf83316b..d957eaeab 100644 --- a/client/src/app/shared/shared-abuse-list/abuse-list-table.component.html +++ b/client/src/app/shared/shared-abuse-list/abuse-list-table.component.html | |||
@@ -30,9 +30,7 @@ | |||
30 | <ng-template pTemplate="body" let-expanded="expanded" let-abuse> | 30 | <ng-template pTemplate="body" let-expanded="expanded" let-abuse> |
31 | <tr> | 31 | <tr> |
32 | <td class="expand-cell c-hand" [pRowToggler]="abuse" i18n-ngbTooltip ngbTooltip="More information" placement="top-left" container="body"> | 32 | <td class="expand-cell c-hand" [pRowToggler]="abuse" i18n-ngbTooltip ngbTooltip="More information" placement="top-left" container="body"> |
33 | <span class="expander"> | 33 | <my-table-expander-icon [expanded]="expanded"></my-table-expander-icon> |
34 | <i [ngClass]="expanded ? 'glyphicon glyphicon-menu-down' : 'glyphicon glyphicon-menu-right'"></i> | ||
35 | </span> | ||
36 | </td> | 34 | </td> |
37 | 35 | ||
38 | <td class="action-cell"> | 36 | <td class="action-cell"> |
@@ -61,28 +59,20 @@ | |||
61 | <ng-container *ngIf="abuse.video"> | 59 | <ng-container *ngIf="abuse.video"> |
62 | 60 | ||
63 | <td *ngIf="!abuse.video.deleted"> | 61 | <td *ngIf="!abuse.video.deleted"> |
64 | <a [href]="getVideoUrl(abuse)" class="table-video-link" [title]="abuse.video.name" target="_blank" rel="noopener noreferrer"> | 62 | <my-video-cell [video]="abuse.video"> |
65 | <div class="table-video"> | 63 | <span image> |
66 | <div class="table-video-image"> | 64 | <span |
67 | <img [src]="abuse.video.thumbnailPath"> | 65 | class="table-video-image-label" *ngIf="abuse.count > 1" |
68 | <span | 66 | i18n-title title="This video has been reported multiple times." |
69 | class="table-video-image-label" *ngIf="abuse.count > 1" | 67 | > |
70 | i18n-title title="This video has been reported multiple times." | 68 | {{ abuse.nth }}/{{ abuse.count }} |
71 | > | 69 | </span> |
72 | {{ abuse.nth }}/{{ abuse.count }} | 70 | </span> |
73 | </span> | 71 | |
74 | </div> | 72 | <span name> |
75 | 73 | <span *ngIf="abuse.video.blacklisted" i18n-title title="The video was blocked" class="glyphicon glyphicon-ban-circle"></span> | |
76 | <div class="table-video-text"> | 74 | </span> |
77 | <div> | 75 | </my-video-cell> |
78 | <span *ngIf="!abuse.video.blacklisted" class="glyphicon glyphicon-new-window"></span> | ||
79 | <span *ngIf="abuse.video.blacklisted" i18n-title title="The video was blocked" class="glyphicon glyphicon-ban-circle"></span> | ||
80 | {{ abuse.video.name }} | ||
81 | </div> | ||
82 | <div i18n>by {{ abuse.video.channel?.displayName }} on {{ abuse.video.channel?.host }} </div> | ||
83 | </div> | ||
84 | </div> | ||
85 | </a> | ||
86 | </td> | 76 | </td> |
87 | 77 | ||
88 | <td *ngIf="abuse.video.deleted" class="c-hand" [pRowToggler]="abuse"> | 78 | <td *ngIf="abuse.video.deleted" class="c-hand" [pRowToggler]="abuse"> |