diff --git a/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts b/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts index 0628c7a96..96d1e0f85 100644 --- a/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts +++ b/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts @@ -133,6 +133,6 @@ export class AccountVideoChannelsComponent implements OnInit, OnDestroy { } getVideoChannelLink (videoChannel: VideoChannel) { - return [ '/video-channels', videoChannel.nameWithHost ] + return [ '/c', videoChannel.nameWithHost ] } } diff --git a/client/src/app/+admin/users/user-edit/user-edit.component.html b/client/src/app/+admin/users/user-edit/user-edit.component.html index 5e92c0f36..772ebf272 100644 --- a/client/src/app/+admin/users/user-edit/user-edit.component.html +++ b/client/src/app/+admin/users/user-edit/user-edit.component.html @@ -10,7 +10,7 @@ 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 44d8a7e87..5b4f35c77 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 @@ -87,7 +87,7 @@ - +
diff --git a/client/src/app/+my-library/+my-video-channels/my-video-channels.component.html b/client/src/app/+my-library/+my-video-channels/my-video-channels.component.html index e41cbe921..9f139b4f2 100644 --- a/client/src/app/+my-library/+my-video-channels/my-video-channels.component.html +++ b/client/src/app/+my-library/+my-video-channels/my-video-channels.component.html @@ -17,10 +17,10 @@
- +
- +
{{ videoChannel.displayName }}
{{ videoChannel.nameWithHost }}
diff --git a/client/src/app/+my-library/my-subscriptions/my-subscriptions.component.html b/client/src/app/+my-library/my-subscriptions/my-subscriptions.component.html index f91cebacf..1bd459059 100644 --- a/client/src/app/+my-library/my-subscriptions/my-subscriptions.component.html +++ b/client/src/app/+my-library/my-subscriptions/my-subscriptions.component.html @@ -14,17 +14,17 @@
- +
- +
{{ videoChannel.displayName }}
{{ videoChannel.nameWithHost }}
{{ videoChannel.followersCount }} subscribers
- + Created by {{ videoChannel.ownerBy }} diff --git a/client/src/app/+remote-interaction/remote-interaction.component.ts b/client/src/app/+remote-interaction/remote-interaction.component.ts index e24607b24..3ebe62f49 100644 --- a/client/src/app/+remote-interaction/remote-interaction.component.ts +++ b/client/src/app/+remote-interaction/remote-interaction.component.ts @@ -43,7 +43,7 @@ export class RemoteInteractionComponent implements OnInit { } else if (channelResult.data.length !== 0) { const channel = new VideoChannel(channelResult.data[0]) - redirectUrl = '/video-channels/' + channel.nameWithHost + redirectUrl = '/c/' + channel.nameWithHost } else { this.error = $localize`Cannot access to the remote resource` return diff --git a/client/src/app/+search/search.component.ts b/client/src/app/+search/search.component.ts index ecede19a3..8a781cbe4 100644 --- a/client/src/app/+search/search.component.ts +++ b/client/src/app/+search/search.component.ts @@ -214,7 +214,7 @@ export class SearchComponent implements OnInit, OnDestroy { const linkType = this.getVideoLinkType() if (linkType === 'internal') { - return [ '/video-channels', channel.nameWithHost ] + return [ '/c', channel.nameWithHost ] } if (linkType === 'lazy-load') { diff --git a/client/src/app/+video-channels/video-channels.component.ts b/client/src/app/+video-channels/video-channels.component.ts index 41fdb5e79..3833d9c54 100644 --- a/client/src/app/+video-channels/video-channels.component.ts +++ b/client/src/app/+video-channels/video-channels.component.ts @@ -112,7 +112,7 @@ export class VideoChannelsComponent implements OnInit, OnDestroy { } getAccountUrl () { - return [ '/accounts', this.videoChannel.ownerBy ] + return [ '/a', this.videoChannel.ownerBy ] } private loadChannelVideosCount () { diff --git a/client/src/app/+videos/+video-watch/comment/video-comment.component.html b/client/src/app/+videos/+video-watch/comment/video-comment.component.html index d7ba40ef6..fc0d66ffd 100644 --- a/client/src/app/+videos/+video-watch/comment/video-comment.component.html +++ b/client/src/app/+videos/+video-watch/comment/video-comment.component.html @@ -11,7 +11,7 @@