diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-04-18 09:55:01 +0200 |
---|---|---|
committer | Rigel Kent <par@rigelk.eu> | 2020-05-01 16:41:02 +0200 |
commit | 988af781ac63e791edd7d62ceddf1f06bfb9e275 (patch) | |
tree | 353fd433550b56c3239ad9c234574841d221560e | |
parent | 86521a67b2edb06a139b095e489c205457eaba8f (diff) | |
download | PeerTube-988af781ac63e791edd7d62ceddf1f06bfb9e275.tar.gz PeerTube-988af781ac63e791edd7d62ceddf1f06bfb9e275.tar.zst PeerTube-988af781ac63e791edd7d62ceddf1f06bfb9e275.zip |
Rename duplicate to more universal mirror, add to miniature for quick access by admins
-rw-r--r-- | client/src/app/shared/video/video-actions-dropdown.component.ts | 2 | ||||
-rw-r--r-- | client/src/app/shared/video/video-miniature.component.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/video/video-actions-dropdown.component.ts b/client/src/app/shared/video/video-actions-dropdown.component.ts index 67c4d6fbc..4e5fc6476 100644 --- a/client/src/app/shared/video/video-actions-dropdown.component.ts +++ b/client/src/app/shared/video/video-actions-dropdown.component.ts | |||
@@ -251,7 +251,7 @@ export class VideoActionsDropdownComponent implements OnChanges { | |||
251 | isDisplayed: () => this.authService.isLoggedIn() && this.displayOptions.blacklist && this.isVideoUnblacklistable() | 251 | isDisplayed: () => this.authService.isLoggedIn() && this.displayOptions.blacklist && this.isVideoUnblacklistable() |
252 | }, | 252 | }, |
253 | { | 253 | { |
254 | label: this.i18n('Duplicate (redundancy)'), | 254 | label: this.i18n('Mirror'), |
255 | handler: () => this.duplicateVideo(), | 255 | handler: () => this.duplicateVideo(), |
256 | isDisplayed: () => this.authService.isLoggedIn() && this.displayOptions.duplicate && this.canVideoBeDuplicated(), | 256 | isDisplayed: () => this.authService.isLoggedIn() && this.displayOptions.duplicate && this.canVideoBeDuplicated(), |
257 | iconName: 'cloud-download' | 257 | iconName: 'cloud-download' |
diff --git a/client/src/app/shared/video/video-miniature.component.ts b/client/src/app/shared/video/video-miniature.component.ts index 9d22e13fd..72b652448 100644 --- a/client/src/app/shared/video/video-miniature.component.ts +++ b/client/src/app/shared/video/video-miniature.component.ts | |||
@@ -65,7 +65,7 @@ export class VideoMiniatureComponent implements OnInit { | |||
65 | blacklist: true, | 65 | blacklist: true, |
66 | delete: true, | 66 | delete: true, |
67 | report: true, | 67 | report: true, |
68 | duplicate: false | 68 | duplicate: true |
69 | } | 69 | } |
70 | showActions = false | 70 | showActions = false |
71 | serverConfig: ServerConfig | 71 | serverConfig: ServerConfig |