aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/moderation/user-moderation-dropdown.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/moderation/user-moderation-dropdown.component.ts')
-rw-r--r--client/src/app/shared/moderation/user-moderation-dropdown.component.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/shared/moderation/user-moderation-dropdown.component.ts b/client/src/app/shared/moderation/user-moderation-dropdown.component.ts
index 7ae5f40e3..11d8588f4 100644
--- a/client/src/app/shared/moderation/user-moderation-dropdown.component.ts
+++ b/client/src/app/shared/moderation/user-moderation-dropdown.component.ts
@@ -243,18 +243,18 @@ export class UserModerationDropdownComponent implements OnInit, OnChanges {
243 if (this.user && authUser.hasRight(UserRight.MANAGE_USERS) && authUser.canManage(this.user)) { 243 if (this.user && authUser.hasRight(UserRight.MANAGE_USERS) && authUser.canManage(this.user)) {
244 this.userActions.push([ 244 this.userActions.push([
245 { 245 {
246 label: this.i18n('Edit'), 246 label: this.i18n('Edit user'),
247 description: this.i18n('Change quota, role, and more.'), 247 description: this.i18n('Change quota, role, and more.'),
248 linkBuilder: ({ user }) => this.getRouterUserEditLink(user) 248 linkBuilder: ({ user }) => this.getRouterUserEditLink(user)
249 }, 249 },
250 { 250 {
251 label: this.i18n('Delete'), 251 label: this.i18n('Delete user'),
252 description: this.i18n('Videos will be deleted, comments will be tombstoned.'), 252 description: this.i18n('Videos will be deleted, comments will be tombstoned.'),
253 handler: ({ user }) => this.removeUser(user) 253 handler: ({ user }) => this.removeUser(user)
254 }, 254 },
255 { 255 {
256 label: this.i18n('Ban'), 256 label: this.i18n('Ban'),
257 description: this.i18n('Videos will be kept as private, comments will be kept as is.'), 257 description: this.i18n('User won\'t be able to login anymore, but videos and comments will be kept as is.'),
258 handler: ({ user }) => this.openBanUserModal(user), 258 handler: ({ user }) => this.openBanUserModal(user),
259 isDisplayed: ({ user }) => !user.blocked 259 isDisplayed: ({ user }) => !user.blocked
260 }, 260 },