aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/app-routing.module.ts
diff options
context:
space:
mode:
authorkontrollanten <6680299+kontrollanten@users.noreply.github.com>2022-04-08 11:14:12 +0200
committerGitHub <noreply@github.com>2022-04-08 11:14:12 +0200
commit72dd3a7c26cf0ef7b0e1780afd7bdbf7fea1d2b1 (patch)
treeec41a8adc10bc9991f494c4ce0e7eb5cf35cb7a6 /client/src/app/app-routing.module.ts
parent68a4b1e587150e58bc8471fd32c6d7316095afa4 (diff)
downloadPeerTube-72dd3a7c26cf0ef7b0e1780afd7bdbf7fea1d2b1.tar.gz
PeerTube-72dd3a7c26cf0ef7b0e1780afd7bdbf7fea1d2b1.tar.zst
PeerTube-72dd3a7c26cf0ef7b0e1780afd7bdbf7fea1d2b1.zip
Fix titles on upload page (#4904)
* client/video-add: fix route titles * client/video-add: show progress in page title * Styling Co-authored-by: Chocobozzz <me@florianbigard.com>
Diffstat (limited to 'client/src/app/app-routing.module.ts')
-rw-r--r--client/src/app/app-routing.module.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/app-routing.module.ts b/client/src/app/app-routing.module.ts
index a831da099..db48b2eea 100644
--- a/client/src/app/app-routing.module.ts
+++ b/client/src/app/app-routing.module.ts
@@ -96,6 +96,7 @@ const routes: Routes = [
96 { 96 {
97 path: 'videos/upload', 97 path: 'videos/upload',
98 loadChildren: () => import('@app/+videos/+video-edit/video-add.module').then(m => m.VideoAddModule), 98 loadChildren: () => import('@app/+videos/+video-edit/video-add.module').then(m => m.VideoAddModule),
99 canActivateChild: [ MetaGuard ],
99 data: { 100 data: {
100 meta: { 101 meta: {
101 title: $localize`Upload a video` 102 title: $localize`Upload a video`
@@ -105,6 +106,7 @@ const routes: Routes = [
105 { 106 {
106 path: 'videos/update/:uuid', 107 path: 'videos/update/:uuid',
107 loadChildren: () => import('@app/+videos/+video-edit/video-update.module').then(m => m.VideoUpdateModule), 108 loadChildren: () => import('@app/+videos/+video-edit/video-update.module').then(m => m.VideoUpdateModule),
109 canActivateChild: [ MetaGuard ],
108 data: { 110 data: {
109 meta: { 111 meta: {
110 title: $localize`Edit a video` 112 title: $localize`Edit a video`