Client: fix routes title

pull/61/head
Chocobozzz 2017-03-12 18:40:05 +01:00
parent e22528aca6
commit 55b3394641
8 changed files with 16 additions and 16 deletions

View File

@ -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'
}
}
}

View File

@ -18,7 +18,7 @@ export const RequestsRoutes: Routes = [
component: RequestStatsComponent,
data: {
meta: {
titleSuffix: ' - Request stats'
title: 'Request stats'
}
}
}

View File

@ -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'
}
}
}

View File

@ -19,7 +19,7 @@ export const VideoAbusesRoutes: Routes = [
component: VideoAbuseListComponent,
data: {
meta: {
titleSuffix: ' - Video abuses list'
title: 'Video abuses list'
}
}
}

View File

@ -9,7 +9,7 @@ const accountRoutes: Routes = [
component: AccountComponent,
data: {
meta: {
titleSuffix: ' - My account'
title: 'My account'
}
}
}

View File

@ -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,

View File

@ -9,7 +9,7 @@ const loginRoutes: Routes = [
component: LoginComponent,
data: {
meta: {
titleSuffix: ' - Login'
title: 'Login'
}
}
}

View File

@ -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'
}
}
},