aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/admin
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-11-04 17:25:26 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-11-04 17:25:26 +0100
commitb58c69a1edcf63b6339576b5b431dbf7dea2c625 (patch)
tree98f4fb17351db9bd737aabfe56c1ddbcf8b29ad3 /client/src/app/admin
parent3154f38219ea6eb55532f38fee43d46821a020ee (diff)
downloadPeerTube-b58c69a1edcf63b6339576b5b431dbf7dea2c625.tar.gz
PeerTube-b58c69a1edcf63b6339576b5b431dbf7dea2c625.tar.zst
PeerTube-b58c69a1edcf63b6339576b5b431dbf7dea2c625.zip
Client: add titles to all pages
Diffstat (limited to 'client/src/app/admin')
-rw-r--r--client/src/app/admin/friends/friends.routes.ts14
-rw-r--r--client/src/app/admin/requests/requests.routes.ts7
-rw-r--r--client/src/app/admin/users/users.routes.ts14
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 }