diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-11-04 17:25:26 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-11-04 17:25:26 +0100 |
commit | b58c69a1edcf63b6339576b5b431dbf7dea2c625 (patch) | |
tree | 98f4fb17351db9bd737aabfe56c1ddbcf8b29ad3 /client/src/app/videos/videos.routes.ts | |
parent | 3154f38219ea6eb55532f38fee43d46821a020ee (diff) | |
download | PeerTube-b58c69a1edcf63b6339576b5b431dbf7dea2c625.tar.gz PeerTube-b58c69a1edcf63b6339576b5b431dbf7dea2c625.tar.zst PeerTube-b58c69a1edcf63b6339576b5b431dbf7dea2c625.zip |
Client: add titles to all pages
Diffstat (limited to 'client/src/app/videos/videos.routes.ts')
-rw-r--r-- | client/src/app/videos/videos.routes.ts | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/client/src/app/videos/videos.routes.ts b/client/src/app/videos/videos.routes.ts index 074f96596..ab68fbe0c 100644 --- a/client/src/app/videos/videos.routes.ts +++ b/client/src/app/videos/videos.routes.ts | |||
@@ -12,11 +12,21 @@ export const VideosRoutes: Routes = [ | |||
12 | children: [ | 12 | children: [ |
13 | { | 13 | { |
14 | path: 'list', | 14 | path: 'list', |
15 | component: VideoListComponent | 15 | component: VideoListComponent, |
16 | data: { | ||
17 | meta: { | ||
18 | titleSuffix: ' - Videos list' | ||
19 | } | ||
20 | } | ||
16 | }, | 21 | }, |
17 | { | 22 | { |
18 | path: 'add', | 23 | path: 'add', |
19 | component: VideoAddComponent | 24 | component: VideoAddComponent, |
25 | data: { | ||
26 | meta: { | ||
27 | titleSuffix: ' - Add a video' | ||
28 | } | ||
29 | } | ||
20 | }, | 30 | }, |
21 | { | 31 | { |
22 | path: 'watch/:id', | 32 | path: 'watch/:id', |