diff options
Diffstat (limited to 'client/src/app/+admin/users')
-rw-r--r-- | client/src/app/+admin/users/user-list/user-list.component.html | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/client/src/app/+admin/users/user-list/user-list.component.html b/client/src/app/+admin/users/user-list/user-list.component.html index e8a084259..012bb2d12 100644 --- a/client/src/app/+admin/users/user-list/user-list.component.html +++ b/client/src/app/+admin/users/user-list/user-list.component.html | |||
@@ -61,7 +61,7 @@ | |||
61 | <th style="width: 60px;"> | 61 | <th style="width: 60px;"> |
62 | <div class="c-hand" ngbDropdown placement="bottom-right auto" container="body" autoClose="outside"> | 62 | <div class="c-hand" ngbDropdown placement="bottom-right auto" container="body" autoClose="outside"> |
63 | <my-global-icon iconName="columns" ngbDropdownToggle></my-global-icon> | 63 | <my-global-icon iconName="columns" ngbDropdownToggle></my-global-icon> |
64 | 64 | ||
65 | <div role="menu" class="dropdown-menu" ngbDropdownMenu> | 65 | <div role="menu" class="dropdown-menu" ngbDropdownMenu> |
66 | <div class="dropdown-header" i18n>Table parameters</div> | 66 | <div class="dropdown-header" i18n>Table parameters</div> |
67 | <div ngbDropdownItem class="dropdown-item"> | 67 | <div ngbDropdownItem class="dropdown-item"> |
@@ -95,6 +95,12 @@ | |||
95 | </span> | 95 | </span> |
96 | </td> | 96 | </td> |
97 | 97 | ||
98 | <td class="action-cell"> | ||
99 | <my-user-moderation-dropdown *ngIf="!isInSelectionMode()" [user]="user" container="body" | ||
100 | (userChanged)="onUserChanged()" (userDeleted)="onUserChanged()"> | ||
101 | </my-user-moderation-dropdown> | ||
102 | </td> | ||
103 | |||
98 | <td *ngIf="getColumn('username')"> | 104 | <td *ngIf="getColumn('username')"> |
99 | <a i18n-title title="Open account in a new tab" target="_blank" rel="noopener noreferrer" [routerLink]="[ '/accounts/' + user.username ]"> | 105 | <a i18n-title title="Open account in a new tab" target="_blank" rel="noopener noreferrer" [routerLink]="[ '/accounts/' + user.username ]"> |
100 | <div class="chip two-lines"> | 106 | <div class="chip two-lines"> |
@@ -161,14 +167,6 @@ | |||
161 | <td *ngIf="getColumn('createdAt')" [title]="user.createdAt">{{ user.createdAt | date: 'short' }}</td> | 167 | <td *ngIf="getColumn('createdAt')" [title]="user.createdAt">{{ user.createdAt | date: 'short' }}</td> |
162 | 168 | ||
163 | <td *ngIf="getColumn('lastLoginDate')" [title]="user.lastLoginDate">{{ user.lastLoginDate | date: 'short' }}</td> | 169 | <td *ngIf="getColumn('lastLoginDate')" [title]="user.lastLoginDate">{{ user.lastLoginDate | date: 'short' }}</td> |
164 | |||
165 | <td class="action-cell"> | ||
166 | <my-user-moderation-dropdown | ||
167 | *ngIf="!isInSelectionMode()" | ||
168 | [user]="user" container="body" (userChanged)="onUserChanged()" (userDeleted)="onUserChanged()" | ||
169 | > | ||
170 | </my-user-moderation-dropdown> | ||
171 | </td> | ||
172 | </tr> | 170 | </tr> |
173 | </ng-template> | 171 | </ng-template> |
174 | 172 | ||