]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Client: fix routes title
authorChocobozzz <florian.bigard@gmail.com>
Sun, 12 Mar 2017 17:40:05 +0000 (18:40 +0100)
committerChocobozzz <florian.bigard@gmail.com>
Sun, 12 Mar 2017 17:40:05 +0000 (18:40 +0100)
client/src/app/+admin/friends/friends.routes.ts
client/src/app/+admin/requests/requests.routes.ts
client/src/app/+admin/users/users.routes.ts
client/src/app/+admin/video-abuses/video-abuses.routes.ts
client/src/app/account/account-routing.module.ts
client/src/app/app.module.ts
client/src/app/login/login-routing.module.ts
client/src/app/videos/videos-routing.module.ts

index a9a06539b55ecf507cf4c81a392823b038ef7b04..747066d1fdc299194601ff90d670bf3bda1fa5b0 100644 (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'
             }
           }
         }
index 70fbf41c3c02929f80747f24dcc631dbe6ef423d..251dd0da81991eec67bf9c66c72af8d18955076e 100644 (file)
@@ -18,7 +18,7 @@ export const RequestsRoutes: Routes = [
           component: RequestStatsComponent,
           data: {
             meta: {
-              titleSuffix: ' - Request stats'
+              title: 'Request stats'
             }
           }
         }
index 92e3e43e30b0ffb59849b3143b139a18be51bd75..ac64c891fd8e9526bec495007dbe8b0351d3b1a9 100644 (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'
             }
           }
         }
index 26a761887fe2f9aef6b8241492c9936583e793a2..c99e162be42313cf7939ad544b456a69b4fa31a5 100644 (file)
@@ -19,7 +19,7 @@ export const VideoAbusesRoutes: Routes = [
           component: VideoAbuseListComponent,
           data: {
             meta: {
-              titleSuffix: ' - Video abuses list'
+              title: 'Video abuses list'
             }
           }
         }
index 8c1033cd226b287d77f07b1da62d341585697c52..9004605f357e0b4c13c0822f6b10e4a764154bd3 100644 (file)
@@ -9,7 +9,7 @@ const accountRoutes: Routes = [
     component: AccountComponent,
     data: {
       meta: {
-        titleSuffix: ' - My account'
+        title: 'My account'
       }
     }
   }
index 02da38b38c93b28093ea21297c5e538e2dbb407a..2d6fbaf21964e430e2753668cdd1c19dc6cec1b0 100644 (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,
index da68519bd90c7a798811e744232286d4bd64474a..37199388424e38a4b6f3217c66d3943b560ccd6d 100644 (file)
@@ -9,7 +9,7 @@ const loginRoutes: Routes = [
     component: LoginComponent,
     data: {
       meta: {
-        titleSuffix: ' - Login'
+        title: 'Login'
       }
     }
   }
index 4c951200c8a69484d310eb1fa6f84320129a1a7f..005e9def6548bf39e41c50935dc67f3c81e17d3c 100644 (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'
           }
         }
       },