From 8e9f050a324523acf9999427040b8c5aec9eecfa Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Thu, 13 Jan 2022 10:15:24 -0500 Subject: [PATCH] Add channels link to home page section --- src/components/appRouter.js | 4 ++++ src/components/homesections/homesections.js | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/src/components/appRouter.js b/src/components/appRouter.js index aa869b7cc6..62ba350ed8 100644 --- a/src/components/appRouter.js +++ b/src/components/appRouter.js @@ -797,6 +797,10 @@ class AppRouter { return '#!/list.html?type=Programs&IsAiring=true&serverId=' + options.serverId; } + if (options.section === 'channels') { + return '#!/livetv.html?tab=2&serverId=' + options.serverId; + } + if (options.section === 'dvrschedule') { return '#!/livetv.html?tab=4&serverId=' + options.serverId; } diff --git a/src/components/homesections/homesections.js b/src/components/homesections/homesections.js index 0eb773bd42..94f0e2d3aa 100644 --- a/src/components/homesections/homesections.js +++ b/src/components/homesections/homesections.js @@ -532,6 +532,11 @@ import ServerConnections from '../ServerConnections'; section: 'guide' }) + '" class="raised">' + globalize.translate('Guide') + ''; + html += '' + globalize.translate('Channels') + ''; + html += '' + globalize.translate('Recordings') + '';