diff options
author | Chocobozzz <me@florianbigard.com> | 2022-03-22 16:58:49 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-03-22 17:24:32 +0100 |
commit | 92e66e04f7f51d37b465cff442ce47f6d6d7cadd (patch) | |
tree | 4475c5c601c0f6673ca56afba5b7f70a4fae4ec3 /client/src/app/shared/shared-main | |
parent | 1808a1f8e4b7b102823492a2007a46929aebf189 (diff) | |
download | PeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.tar.gz PeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.tar.zst PeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.zip |
Rename studio to editor
Diffstat (limited to 'client/src/app/shared/shared-main')
3 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/shared/shared-main/users/user-notification.model.ts b/client/src/app/shared/shared-main/users/user-notification.model.ts index d1b36f347..a2367166e 100644 --- a/client/src/app/shared/shared-main/users/user-notification.model.ts +++ b/client/src/app/shared/shared-main/users/user-notification.model.ts | |||
@@ -228,7 +228,7 @@ export class UserNotification implements UserNotificationServer { | |||
228 | this.pluginQueryParams.pluginType = this.plugin.type + '' | 228 | this.pluginQueryParams.pluginType = this.plugin.type + '' |
229 | break | 229 | break |
230 | 230 | ||
231 | case UserNotificationType.MY_VIDEO_EDITION_FINISHED: | 231 | case UserNotificationType.MY_VIDEO_STUDIO_EDITION_FINISHED: |
232 | this.videoUrl = this.buildVideoUrl(this.video) | 232 | this.videoUrl = this.buildVideoUrl(this.video) |
233 | break | 233 | break |
234 | } | 234 | } |
diff --git a/client/src/app/shared/shared-main/users/user-notifications.component.html b/client/src/app/shared/shared-main/users/user-notifications.component.html index ff1259fb8..e7cdb0183 100644 --- a/client/src/app/shared/shared-main/users/user-notifications.component.html +++ b/client/src/app/shared/shared-main/users/user-notifications.component.html | |||
@@ -207,7 +207,7 @@ | |||
207 | </div> | 207 | </div> |
208 | </ng-container> | 208 | </ng-container> |
209 | 209 | ||
210 | <ng-container *ngSwitchCase="19"> <!-- UserNotificationType.MY_VIDEO_EDITION_FINISHED --> | 210 | <ng-container *ngSwitchCase="19"> <!-- UserNotificationType.MY_VIDEO_STUDIO_EDITION_FINISHED --> |
211 | <my-global-icon iconName="film" aria-hidden="true"></my-global-icon> | 211 | <my-global-icon iconName="film" aria-hidden="true"></my-global-icon> |
212 | 212 | ||
213 | <div class="message" i18n> | 213 | <div class="message" i18n> |
diff --git a/client/src/app/shared/shared-main/video/video.model.ts b/client/src/app/shared/shared-main/video/video.model.ts index 612fcf16c..2d4db9a28 100644 --- a/client/src/app/shared/shared-main/video/video.model.ts +++ b/client/src/app/shared/shared-main/video/video.model.ts | |||
@@ -228,8 +228,8 @@ export class Video implements VideoServerModel { | |||
228 | return user && this.isLocal === true && (this.account.name === user.username || user.hasRight(UserRight.UPDATE_ANY_VIDEO)) | 228 | return user && this.isLocal === true && (this.account.name === user.username || user.hasRight(UserRight.UPDATE_ANY_VIDEO)) |
229 | } | 229 | } |
230 | 230 | ||
231 | isEditableBy (user: AuthUser, videoEditorEnabled: boolean) { | 231 | isEditableBy (user: AuthUser, videoStudioEnabled: boolean) { |
232 | return videoEditorEnabled && | 232 | return videoStudioEnabled && |
233 | this.state?.id === VideoState.PUBLISHED && | 233 | this.state?.id === VideoState.PUBLISHED && |
234 | this.isUpdatableBy(user) | 234 | this.isUpdatableBy(user) |
235 | } | 235 | } |