From 663b5e93a1fa63c87696654d1af60bc86faee60f Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Fri, 29 Nov 2013 15:10:31 -0500 Subject: [PATCH] add links to channel pages --- dashboard-ui/scripts/livetvrecordings.js | 7 ++++++- dashboard-ui/scripts/livetvtimers.js | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/dashboard-ui/scripts/livetvrecordings.js b/dashboard-ui/scripts/livetvrecordings.js index f057c635d5..ad737caaf8 100644 --- a/dashboard-ui/scripts/livetvrecordings.js +++ b/dashboard-ui/scripts/livetvrecordings.js @@ -55,7 +55,12 @@ html += ''; html += '' + (recording.Name || '') + ''; - html += '' + (recording.ChannelName || '') + ''; + + html += ''; + if (recording.ChannelId) { + html += '' + recording.ChannelName + ''; + } + html += ''; var startDate = recording.StartDate; diff --git a/dashboard-ui/scripts/livetvtimers.js b/dashboard-ui/scripts/livetvtimers.js index 5e9c85f76e..9b266c66e8 100644 --- a/dashboard-ui/scripts/livetvtimers.js +++ b/dashboard-ui/scripts/livetvtimers.js @@ -55,7 +55,12 @@ html += ''; html += '' + (timer.Name || '') + ''; - html += '' + (timer.ChannelName || '') + ''; + + html += ''; + if (timer.ChannelId) { + html += '' + timer.ChannelName + ''; + } + html += ''; var startDate = timer.StartDate;