diff options
Diffstat (limited to 'client/src/app/admin')
-rw-r--r-- | client/src/app/admin/friends/friends.routes.ts | 14 | ||||
-rw-r--r-- | client/src/app/admin/requests/requests.routes.ts | 7 | ||||
-rw-r--r-- | client/src/app/admin/users/users.routes.ts | 14 |
3 files changed, 30 insertions, 5 deletions
diff --git a/client/src/app/admin/friends/friends.routes.ts b/client/src/app/admin/friends/friends.routes.ts index 7fdef68f9..a9a06539b 100644 --- a/client/src/app/admin/friends/friends.routes.ts +++ b/client/src/app/admin/friends/friends.routes.ts | |||
@@ -16,11 +16,21 @@ export const FriendsRoutes: Routes = [ | |||
16 | }, | 16 | }, |
17 | { | 17 | { |
18 | path: 'list', | 18 | path: 'list', |
19 | component: FriendListComponent | 19 | component: FriendListComponent, |
20 | data: { | ||
21 | meta: { | ||
22 | titleSuffix: ' - Friends list' | ||
23 | } | ||
24 | } | ||
20 | }, | 25 | }, |
21 | { | 26 | { |
22 | path: 'add', | 27 | path: 'add', |
23 | component: FriendAddComponent | 28 | component: FriendAddComponent, |
29 | data: { | ||
30 | meta: { | ||
31 | titleSuffix: ' - Add friends' | ||
32 | } | ||
33 | } | ||
24 | } | 34 | } |
25 | ] | 35 | ] |
26 | } | 36 | } |
diff --git a/client/src/app/admin/requests/requests.routes.ts b/client/src/app/admin/requests/requests.routes.ts index 78221a9ff..70fbf41c3 100644 --- a/client/src/app/admin/requests/requests.routes.ts +++ b/client/src/app/admin/requests/requests.routes.ts | |||
@@ -15,7 +15,12 @@ export const RequestsRoutes: Routes = [ | |||
15 | }, | 15 | }, |
16 | { | 16 | { |
17 | path: 'stats', | 17 | path: 'stats', |
18 | component: RequestStatsComponent | 18 | component: RequestStatsComponent, |
19 | data: { | ||
20 | meta: { | ||
21 | titleSuffix: ' - Request stats' | ||
22 | } | ||
23 | } | ||
19 | } | 24 | } |
20 | ] | 25 | ] |
21 | } | 26 | } |
diff --git a/client/src/app/admin/users/users.routes.ts b/client/src/app/admin/users/users.routes.ts index eb71bd0ae..92e3e43e3 100644 --- a/client/src/app/admin/users/users.routes.ts +++ b/client/src/app/admin/users/users.routes.ts | |||
@@ -16,11 +16,21 @@ export const UsersRoutes: Routes = [ | |||
16 | }, | 16 | }, |
17 | { | 17 | { |
18 | path: 'list', | 18 | path: 'list', |
19 | component: UserListComponent | 19 | component: UserListComponent, |
20 | data: { | ||
21 | meta: { | ||
22 | titleSuffix: ' - Users list' | ||
23 | } | ||
24 | } | ||
20 | }, | 25 | }, |
21 | { | 26 | { |
22 | path: 'add', | 27 | path: 'add', |
23 | component: UserAddComponent | 28 | component: UserAddComponent, |
29 | data: { | ||
30 | meta: { | ||
31 | titleSuffix: ' - Add a user' | ||
32 | } | ||
33 | } | ||
24 | } | 34 | } |
25 | ] | 35 | ] |
26 | } | 36 | } |