aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/moderation/user-moderation-dropdown.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-01-21 14:05:22 +0100
committerChocobozzz <me@florianbigard.com>2020-01-21 14:05:22 +0100
commitf0ad47100748ba5f660b597787422b1b302e64c0 (patch)
tree5b75aa216bdc199cdd2f93e72f0a67d7524ff617 /client/src/app/shared/moderation/user-moderation-dropdown.component.ts
parent7c1f3e73667c013bcebdfbd75d55ba8ef83c6b54 (diff)
downloadPeerTube-f0ad47100748ba5f660b597787422b1b302e64c0.tar.gz
PeerTube-f0ad47100748ba5f660b597787422b1b302e64c0.tar.zst
PeerTube-f0ad47100748ba5f660b597787422b1b302e64c0.zip
Update a little bit user dropdown message
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 },