From b58c69a1edcf63b6339576b5b431dbf7dea2c625 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 4 Nov 2016 17:25:26 +0100 Subject: Client: add titles to all pages --- client/src/app/videos/videos.routes.ts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'client/src/app/videos') 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 = [ children: [ { path: 'list', - component: VideoListComponent + component: VideoListComponent, + data: { + meta: { + titleSuffix: ' - Videos list' + } + } }, { path: 'add', - component: VideoAddComponent + component: VideoAddComponent, + data: { + meta: { + titleSuffix: ' - Add a video' + } + } }, { path: 'watch/:id', -- cgit v1.2.3