diff options
Diffstat (limited to 'client/src/app/+admin/moderation/registration-list/registration-list.component.html')
-rw-r--r-- | client/src/app/+admin/moderation/registration-list/registration-list.component.html | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/client/src/app/+admin/moderation/registration-list/registration-list.component.html b/client/src/app/+admin/moderation/registration-list/registration-list.component.html index 4f9d06acc..a2b888101 100644 --- a/client/src/app/+admin/moderation/registration-list/registration-list.component.html +++ b/client/src/app/+admin/moderation/registration-list/registration-list.component.html | |||
@@ -7,12 +7,20 @@ | |||
7 | [value]="registrations" [paginator]="totalRecords > 0" [totalRecords]="totalRecords" [rows]="rowsPerPage" [first]="pagination.start" | 7 | [value]="registrations" [paginator]="totalRecords > 0" [totalRecords]="totalRecords" [rows]="rowsPerPage" [first]="pagination.start" |
8 | [rowsPerPageOptions]="rowsPerPageOptions" [sortField]="sort.field" [sortOrder]="sort.order" dataKey="id" | 8 | [rowsPerPageOptions]="rowsPerPageOptions" [sortField]="sort.field" [sortOrder]="sort.order" dataKey="id" |
9 | [lazy]="true" (onLazyLoad)="loadLazy($event)" [lazyLoadOnInit]="false" | 9 | [lazy]="true" (onLazyLoad)="loadLazy($event)" [lazyLoadOnInit]="false" |
10 | [showCurrentPageReport]="true" i18n-currentPageReportTemplate | 10 | [(selection)]="selectedRows" [showCurrentPageReport]="true" i18n-currentPageReportTemplate |
11 | currentPageReportTemplate="Showing {{'{first}'}} to {{'{last}'}} of {{'{totalRecords}'}} registrations" | 11 | currentPageReportTemplate="Showing {{'{first}'}} to {{'{last}'}} of {{'{totalRecords}'}} registrations" |
12 | [expandedRowKeys]="expandedRows" | 12 | [expandedRowKeys]="expandedRows" |
13 | > | 13 | > |
14 | <ng-template pTemplate="caption"> | 14 | <ng-template pTemplate="caption"> |
15 | <div class="caption"> | 15 | <div class="caption"> |
16 | <div class="left-buttons"> | ||
17 | <my-action-dropdown | ||
18 | *ngIf="isInSelectionMode()" i18n-label label="Batch actions" theme="orange" | ||
19 | [actions]="bulkActions" [entry]="selectedRows" | ||
20 | > | ||
21 | </my-action-dropdown> | ||
22 | </div> | ||
23 | |||
16 | <div class="ms-auto"> | 24 | <div class="ms-auto"> |
17 | <my-advanced-input-filter (search)="onSearch($event)"></my-advanced-input-filter> | 25 | <my-advanced-input-filter (search)="onSearch($event)"></my-advanced-input-filter> |
18 | </div> | 26 | </div> |
@@ -21,6 +29,9 @@ | |||
21 | 29 | ||
22 | <ng-template pTemplate="header"> | 30 | <ng-template pTemplate="header"> |
23 | <tr> <!-- header --> | 31 | <tr> <!-- header --> |
32 | <th style="width: 40px"> | ||
33 | <p-tableHeaderCheckbox ariaLabel="Select all rows" i18n-ariaLabel></p-tableHeaderCheckbox> | ||
34 | </th> | ||
24 | <th style="width: 40px;"></th> | 35 | <th style="width: 40px;"></th> |
25 | <th style="width: 150px;"></th> | 36 | <th style="width: 150px;"></th> |
26 | <th i18n>Account</th> | 37 | <th i18n>Account</th> |
@@ -34,7 +45,11 @@ | |||
34 | </ng-template> | 45 | </ng-template> |
35 | 46 | ||
36 | <ng-template pTemplate="body" let-expanded="expanded" let-registration> | 47 | <ng-template pTemplate="body" let-expanded="expanded" let-registration> |
37 | <tr> | 48 | <tr [pSelectableRow]="registration"> |
49 | <td class="checkbox-cell"> | ||
50 | <p-tableCheckbox [value]="registration" ariaLabel="Select this row" i18n-ariaLabel></p-tableCheckbox> | ||
51 | </td> | ||
52 | |||
38 | <td class="expand-cell" [pRowToggler]="registration"> | 53 | <td class="expand-cell" [pRowToggler]="registration"> |
39 | <my-table-expander-icon [expanded]="expanded"></my-table-expander-icon> | 54 | <my-table-expander-icon [expanded]="expanded"></my-table-expander-icon> |
40 | </td> | 55 | </td> |