aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-03-12 18:40:05 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-03-12 18:40:05 +0100
commit55b3394641a764b89132d0057d3fdf656dab2389 (patch)
tree96d3a373454e6a643c6441906804d26bfb4ed2b1 /client
parente22528aca6eb58c8f8005790ac6e76ed4f8ad706 (diff)
downloadPeerTube-55b3394641a764b89132d0057d3fdf656dab2389.tar.gz
PeerTube-55b3394641a764b89132d0057d3fdf656dab2389.tar.zst
PeerTube-55b3394641a764b89132d0057d3fdf656dab2389.zip
Client: fix routes title
Diffstat (limited to 'client')
-rw-r--r--client/src/app/+admin/friends/friends.routes.ts4
-rw-r--r--client/src/app/+admin/requests/requests.routes.ts2
-rw-r--r--client/src/app/+admin/users/users.routes.ts4
-rw-r--r--client/src/app/+admin/video-abuses/video-abuses.routes.ts2
-rw-r--r--client/src/app/account/account-routing.module.ts2
-rw-r--r--client/src/app/app.module.ts12
-rw-r--r--client/src/app/login/login-routing.module.ts2
-rw-r--r--client/src/app/videos/videos-routing.module.ts4
8 files changed, 16 insertions, 16 deletions
diff --git a/client/src/app/+admin/friends/friends.routes.ts b/client/src/app/+admin/friends/friends.routes.ts
index a9a06539b..747066d1f 100644
--- a/client/src/app/+admin/friends/friends.routes.ts
+++ b/client/src/app/+admin/friends/friends.routes.ts
@@ -19,7 +19,7 @@ export const FriendsRoutes: Routes = [
19 component: FriendListComponent, 19 component: FriendListComponent,
20 data: { 20 data: {
21 meta: { 21 meta: {
22 titleSuffix: ' - Friends list' 22 title: 'Friends list'
23 } 23 }
24 } 24 }
25 }, 25 },
@@ -28,7 +28,7 @@ export const FriendsRoutes: Routes = [
28 component: FriendAddComponent, 28 component: FriendAddComponent,
29 data: { 29 data: {
30 meta: { 30 meta: {
31 titleSuffix: ' - Add friends' 31 title: 'Add friends'
32 } 32 }
33 } 33 }
34 } 34 }
diff --git a/client/src/app/+admin/requests/requests.routes.ts b/client/src/app/+admin/requests/requests.routes.ts
index 70fbf41c3..251dd0da8 100644
--- a/client/src/app/+admin/requests/requests.routes.ts
+++ b/client/src/app/+admin/requests/requests.routes.ts
@@ -18,7 +18,7 @@ export const RequestsRoutes: Routes = [
18 component: RequestStatsComponent, 18 component: RequestStatsComponent,
19 data: { 19 data: {
20 meta: { 20 meta: {
21 titleSuffix: ' - Request stats' 21 title: 'Request stats'
22 } 22 }
23 } 23 }
24 } 24 }
diff --git a/client/src/app/+admin/users/users.routes.ts b/client/src/app/+admin/users/users.routes.ts
index 92e3e43e3..ac64c891f 100644
--- a/client/src/app/+admin/users/users.routes.ts
+++ b/client/src/app/+admin/users/users.routes.ts
@@ -19,7 +19,7 @@ export const UsersRoutes: Routes = [
19 component: UserListComponent, 19 component: UserListComponent,
20 data: { 20 data: {
21 meta: { 21 meta: {
22 titleSuffix: ' - Users list' 22 title: 'Users list'
23 } 23 }
24 } 24 }
25 }, 25 },
@@ -28,7 +28,7 @@ export const UsersRoutes: Routes = [
28 component: UserAddComponent, 28 component: UserAddComponent,
29 data: { 29 data: {
30 meta: { 30 meta: {
31 titleSuffix: ' - Add a user' 31 title: 'Add a user'
32 } 32 }
33 } 33 }
34 } 34 }
diff --git a/client/src/app/+admin/video-abuses/video-abuses.routes.ts b/client/src/app/+admin/video-abuses/video-abuses.routes.ts
index 26a761887..c99e162be 100644
--- a/client/src/app/+admin/video-abuses/video-abuses.routes.ts
+++ b/client/src/app/+admin/video-abuses/video-abuses.routes.ts
@@ -19,7 +19,7 @@ export const VideoAbusesRoutes: Routes = [
19 component: VideoAbuseListComponent, 19 component: VideoAbuseListComponent,
20 data: { 20 data: {
21 meta: { 21 meta: {
22 titleSuffix: ' - Video abuses list' 22 title: 'Video abuses list'
23 } 23 }
24 } 24 }
25 } 25 }
diff --git a/client/src/app/account/account-routing.module.ts b/client/src/app/account/account-routing.module.ts
index 8c1033cd2..9004605f3 100644
--- a/client/src/app/account/account-routing.module.ts
+++ b/client/src/app/account/account-routing.module.ts
@@ -9,7 +9,7 @@ const accountRoutes: Routes = [
9 component: AccountComponent, 9 component: AccountComponent,
10 data: { 10 data: {
11 meta: { 11 meta: {
12 titleSuffix: ' - My account' 12 title: 'My account'
13 } 13 }
14 } 14 }
15 } 15 }
diff --git a/client/src/app/app.module.ts b/client/src/app/app.module.ts
index 02da38b38..2d6fbaf21 100644
--- a/client/src/app/app.module.ts
+++ b/client/src/app/app.module.ts
@@ -46,16 +46,16 @@ const APP_PROVIDERS = [
46 46
47 AppRoutingModule, 47 AppRoutingModule,
48 48
49 MetaModule.forRoot({
50 provide: MetaLoader,
51 useFactory: (metaFactory)
52 }),
53
54 AccountModule, 49 AccountModule,
55 CoreModule, 50 CoreModule,
56 LoginModule, 51 LoginModule,
57 SharedModule, 52 SharedModule,
58 VideosModule 53 VideosModule,
54
55 MetaModule.forRoot({
56 provide: MetaLoader,
57 useFactory: (metaFactory)
58 })
59 ], 59 ],
60 providers: [ // expose our Services and Providers into Angular's dependency injection 60 providers: [ // expose our Services and Providers into Angular's dependency injection
61 ENV_PROVIDERS, 61 ENV_PROVIDERS,
diff --git a/client/src/app/login/login-routing.module.ts b/client/src/app/login/login-routing.module.ts
index da68519bd..371993884 100644
--- a/client/src/app/login/login-routing.module.ts
+++ b/client/src/app/login/login-routing.module.ts
@@ -9,7 +9,7 @@ const loginRoutes: Routes = [
9 component: LoginComponent, 9 component: LoginComponent,
10 data: { 10 data: {
11 meta: { 11 meta: {
12 titleSuffix: ' - Login' 12 title: 'Login'
13 } 13 }
14 } 14 }
15 } 15 }
diff --git a/client/src/app/videos/videos-routing.module.ts b/client/src/app/videos/videos-routing.module.ts
index 4c951200c..005e9def6 100644
--- a/client/src/app/videos/videos-routing.module.ts
+++ b/client/src/app/videos/videos-routing.module.ts
@@ -16,7 +16,7 @@ const videosRoutes: Routes = [
16 component: VideoListComponent, 16 component: VideoListComponent,
17 data: { 17 data: {
18 meta: { 18 meta: {
19 titleSuffix: ' - Videos list' 19 title: 'Videos list'
20 } 20 }
21 } 21 }
22 }, 22 },
@@ -25,7 +25,7 @@ const videosRoutes: Routes = [
25 component: VideoAddComponent, 25 component: VideoAddComponent,
26 data: { 26 data: {
27 meta: { 27 meta: {
28 titleSuffix: ' - Add a video' 28 title: 'Add a video'
29 } 29 }
30 } 30 }
31 }, 31 },