From 55b3394641a764b89132d0057d3fdf656dab2389 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Sun, 12 Mar 2017 18:40:05 +0100 Subject: Client: fix routes title --- client/src/app/+admin/friends/friends.routes.ts | 4 ++-- client/src/app/+admin/requests/requests.routes.ts | 2 +- client/src/app/+admin/users/users.routes.ts | 4 ++-- client/src/app/+admin/video-abuses/video-abuses.routes.ts | 2 +- client/src/app/account/account-routing.module.ts | 2 +- client/src/app/app.module.ts | 12 ++++++------ client/src/app/login/login-routing.module.ts | 2 +- client/src/app/videos/videos-routing.module.ts | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) (limited to 'client') 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 = [ component: FriendListComponent, data: { meta: { - titleSuffix: ' - Friends list' + title: 'Friends list' } } }, @@ -28,7 +28,7 @@ export const FriendsRoutes: Routes = [ component: FriendAddComponent, data: { meta: { - titleSuffix: ' - Add friends' + title: 'Add friends' } } } 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 = [ component: RequestStatsComponent, data: { meta: { - titleSuffix: ' - Request stats' + title: 'Request stats' } } } 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 = [ component: UserListComponent, data: { meta: { - titleSuffix: ' - Users list' + title: 'Users list' } } }, @@ -28,7 +28,7 @@ export const UsersRoutes: Routes = [ component: UserAddComponent, data: { meta: { - titleSuffix: ' - Add a user' + title: 'Add a user' } } } 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 = [ component: VideoAbuseListComponent, data: { meta: { - titleSuffix: ' - Video abuses list' + title: 'Video abuses list' } } } 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 = [ component: AccountComponent, data: { meta: { - titleSuffix: ' - My account' + title: 'My account' } } } 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 = [ AppRoutingModule, - MetaModule.forRoot({ - provide: MetaLoader, - useFactory: (metaFactory) - }), - AccountModule, CoreModule, LoginModule, SharedModule, - VideosModule + VideosModule, + + MetaModule.forRoot({ + provide: MetaLoader, + useFactory: (metaFactory) + }) ], providers: [ // expose our Services and Providers into Angular's dependency injection 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 = [ component: LoginComponent, data: { meta: { - titleSuffix: ' - Login' + title: 'Login' } } } 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 = [ component: VideoListComponent, data: { meta: { - titleSuffix: ' - Videos list' + title: 'Videos list' } } }, @@ -25,7 +25,7 @@ const videosRoutes: Routes = [ component: VideoAddComponent, data: { meta: { - titleSuffix: ' - Add a video' + title: 'Add a video' } } }, -- cgit v1.2.3