aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html')
-rw-r--r--client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html19
1 files changed, 18 insertions, 1 deletions
diff --git a/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html b/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html
index 330ee2478..8b7c12ba3 100644
--- a/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html
+++ b/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html
@@ -13,9 +13,18 @@
13 [showCurrentPageReport]="true" i18n-currentPageReportTemplate 13 [showCurrentPageReport]="true" i18n-currentPageReportTemplate
14 currentPageReportTemplate="Showing {{'{first}'}} to {{'{last}'}} of {{'{totalRecords}'}} comments" 14 currentPageReportTemplate="Showing {{'{first}'}} to {{'{last}'}} of {{'{totalRecords}'}} comments"
15 (onPage)="onPage($event)" [expandedRowKeys]="expandedRows" 15 (onPage)="onPage($event)" [expandedRowKeys]="expandedRows"
16 [(selection)]="selectedComments"
16> 17>
17 <ng-template pTemplate="caption"> 18 <ng-template pTemplate="caption">
18 <div class="caption"> 19 <div class="caption">
20 <div>
21 <my-action-dropdown
22 *ngIf="isInSelectionMode()" i18n-label label="Batch actions" theme="orange"
23 [actions]="bulkCommentActions" [entry]="selectedComments"
24 >
25 </my-action-dropdown>
26 </div>
27
19 <div class="ml-auto"> 28 <div class="ml-auto">
20 <div class="input-group has-feedback has-clear"> 29 <div class="input-group has-feedback has-clear">
21 <div class="input-group-prepend c-hand" ngbDropdown placement="bottom-left auto" container="body"> 30 <div class="input-group-prepend c-hand" ngbDropdown placement="bottom-left auto" container="body">
@@ -42,6 +51,9 @@
42 51
43 <ng-template pTemplate="header"> 52 <ng-template pTemplate="header">
44 <tr> 53 <tr>
54 <th style="width: 40px">
55 <p-tableHeaderCheckbox></p-tableHeaderCheckbox>
56 </th>
45 <th style="width: 40px"></th> 57 <th style="width: 40px"></th>
46 <th style="width: 150px;"></th> 58 <th style="width: 150px;"></th>
47 <th style="width: 300px" i18n>Account</th> 59 <th style="width: 300px" i18n>Account</th>
@@ -52,7 +64,12 @@
52 </ng-template> 64 </ng-template>
53 65
54 <ng-template pTemplate="body" let-videoComment let-expanded="expanded"> 66 <ng-template pTemplate="body" let-videoComment let-expanded="expanded">
55 <tr> 67 <tr [pSelectableRow]="videoComment">
68
69 <td class="checkbox-cell">
70 <p-tableCheckbox [value]="videoComment"></p-tableCheckbox>
71 </td>
72
56 <td class="expand-cell c-hand" [pRowToggler]="videoComment" i18n-ngbTooltip ngbTooltip="More information" placement="top-left" container="body"> 73 <td class="expand-cell c-hand" [pRowToggler]="videoComment" i18n-ngbTooltip ngbTooltip="More information" placement="top-left" container="body">
57 <span class="expander"> 74 <span class="expander">
58 <i [ngClass]="expanded ? 'glyphicon glyphicon-menu-down' : 'glyphicon glyphicon-menu-right'"></i> 75 <i [ngClass]="expanded ? 'glyphicon glyphicon-menu-down' : 'glyphicon glyphicon-menu-right'"></i>