1
0
Fork 0

Client: fix routes title

This commit is contained in:
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'
}
}
},