diff options
Diffstat (limited to 'client/src/app/+admin/video-blacklist/video-blacklist-list/video-blacklist-list.component.html')
-rw-r--r-- | client/src/app/+admin/video-blacklist/video-blacklist-list/video-blacklist-list.component.html | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/client/src/app/+admin/video-blacklist/video-blacklist-list/video-blacklist-list.component.html b/client/src/app/+admin/video-blacklist/video-blacklist-list/video-blacklist-list.component.html deleted file mode 100644 index 05b3a300c..000000000 --- a/client/src/app/+admin/video-blacklist/video-blacklist-list/video-blacklist-list.component.html +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | <div class="admin-sub-header"> | ||
2 | <div i18n class="form-sub-title">Blacklisted videos</div> | ||
3 | </div> | ||
4 | |||
5 | <p-table | ||
6 | [value]="blacklist" [lazy]="true" [paginator]="true" [totalRecords]="totalRecords" [rows]="rowsPerPage" | ||
7 | [sortField]="sort.field" [sortOrder]="sort.order" (onLazyLoad)="loadLazy($event)" dataKey="id" | ||
8 | > | ||
9 | <ng-template pTemplate="header"> | ||
10 | <tr> | ||
11 | <th style="width: 40px"></th> | ||
12 | <th i18n pSortableColumn="name">Video name <p-sortIcon field="name"></p-sortIcon></th> | ||
13 | <th i18n>Sensitive</th> | ||
14 | <th i18n pSortableColumn="createdAt">Date <p-sortIcon field="createdAt"></p-sortIcon></th> | ||
15 | <th style="width: 50px;"></th> | ||
16 | </tr> | ||
17 | </ng-template> | ||
18 | |||
19 | <ng-template pTemplate="body" let-videoBlacklist let-expanded="expanded"> | ||
20 | <tr> | ||
21 | <td> | ||
22 | <span *ngIf="videoBlacklist.reason" class="expander" [pRowToggler]="videoBlacklist"> | ||
23 | <i [ngClass]="expanded ? 'glyphicon glyphicon-menu-down' : 'glyphicon glyphicon-menu-right'"></i> | ||
24 | </span> | ||
25 | </td> | ||
26 | |||
27 | <td> | ||
28 | <a [href]="getVideoUrl(videoBlacklist)" i18n-title title="Go to the video" target="_blank" rel="noopener noreferrer"> | ||
29 | {{ videoBlacklist.video.name }} | ||
30 | </a> | ||
31 | </td> | ||
32 | |||
33 | <td>{{ videoBlacklist.video.nsfw }}</td> | ||
34 | <td>{{ videoBlacklist.createdAt }}</td> | ||
35 | |||
36 | <td class="action-cell"> | ||
37 | <my-action-dropdown i18n-label label="Actions" [actions]="videoBlacklistActions" [entry]="videoBlacklist"></my-action-dropdown> | ||
38 | </td> | ||
39 | </tr> | ||
40 | </ng-template> | ||
41 | |||
42 | <ng-template pTemplate="rowexpansion" let-videoBlacklist> | ||
43 | <tr class="blacklist-reason"> | ||
44 | <td colspan="6"> | ||
45 | <span i18n class="blacklist-reason-label">Blacklist reason:</span> | ||
46 | {{ videoBlacklist.reason }} | ||
47 | </td> | ||
48 | </tr> | ||
49 | </ng-template> | ||
50 | </p-table> | ||
51 | |||