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, component: FriendListComponent,
data: { data: {
meta: { meta: {
titleSuffix: ' - Friends list' title: 'Friends list'
} }
} }
}, },
@ -28,7 +28,7 @@ export const FriendsRoutes: Routes = [
component: FriendAddComponent, component: FriendAddComponent,
data: { data: {
meta: { meta: {
titleSuffix: ' - Add friends' title: 'Add friends'
} }
} }
} }

View File

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

View File

@ -19,7 +19,7 @@ export const UsersRoutes: Routes = [
component: UserListComponent, component: UserListComponent,
data: { data: {
meta: { meta: {
titleSuffix: ' - Users list' title: 'Users list'
} }
} }
}, },
@ -28,7 +28,7 @@ export const UsersRoutes: Routes = [
component: UserAddComponent, component: UserAddComponent,
data: { data: {
meta: { meta: {
titleSuffix: ' - Add a user' title: 'Add a user'
} }
} }
} }

View File

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

View File

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

View File

@ -46,16 +46,16 @@ const APP_PROVIDERS = [
AppRoutingModule, AppRoutingModule,
MetaModule.forRoot({
provide: MetaLoader,
useFactory: (metaFactory)
}),
AccountModule, AccountModule,
CoreModule, CoreModule,
LoginModule, LoginModule,
SharedModule, SharedModule,
VideosModule VideosModule,
MetaModule.forRoot({
provide: MetaLoader,
useFactory: (metaFactory)
})
], ],
providers: [ // expose our Services and Providers into Angular's dependency injection providers: [ // expose our Services and Providers into Angular's dependency injection
ENV_PROVIDERS, ENV_PROVIDERS,

View File

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

View File

@ -16,7 +16,7 @@ const videosRoutes: Routes = [
component: VideoListComponent, component: VideoListComponent,
data: { data: {
meta: { meta: {
titleSuffix: ' - Videos list' title: 'Videos list'
} }
} }
}, },
@ -25,7 +25,7 @@ const videosRoutes: Routes = [
component: VideoAddComponent, component: VideoAddComponent,
data: { data: {
meta: { meta: {
titleSuffix: ' - Add a video' title: 'Add a video'
} }
} }
}, },