${HeaderNotificationList}
${HeaderSendNotificationHelp}
diff --git a/dashboard-ui/scripts/addpluginpage.js b/dashboard-ui/scripts/addpluginpage.js
index 0ef2e7be71..359c0b70c4 100644
--- a/dashboard-ui/scripts/addpluginpage.js
+++ b/dashboard-ui/scripts/addpluginpage.js
@@ -274,27 +274,33 @@
var context = getParameterByName('context');
+ $('.syncTabs', page).hide();
+ $('.pluginTabs', page).hide();
+ $('.livetvTabs', page).hide();
+ $('.notificationsTabs', page).hide();
+
if (context == 'sync') {
$('.syncTabs', page).show();
- $('.pluginTabs', page).hide();
- $('.livetvTabs', page).hide();
page.setAttribute('data-helpurl', 'https://github.com/MediaBrowser/Wiki/wiki/Sync');
Dashboard.setPageTitle(Globalize.translate('TitleSync'));
}
else if (context == 'livetv') {
- $('.syncTabs', page).hide();
- $('.pluginTabs', page).hide();
$('.livetvTabs', page).show();
Dashboard.setPageTitle(Globalize.translate('TitleLiveTV'));
page.setAttribute('data-helpurl', 'https://github.com/MediaBrowser/Wiki/wiki/Live%20TV');
}
+ else if (context == 'notifications') {
+
+ $('.notificationsTabs', page).show();
+
+ Dashboard.setPageTitle(Globalize.translate('TitleNotifications'));
+ page.setAttribute('data-helpurl', 'https://github.com/MediaBrowser/Wiki/wiki/Notifications');
+ }
else {
- $('.syncTabs', page).hide();
$('.pluginTabs', page).show();
- $('.livetvTabs', page).hide();
page.setAttribute('data-helpurl', 'https://github.com/MediaBrowser/Wiki/wiki/Plugins');
Dashboard.setPageTitle(Globalize.translate('TitlePlugins'));
diff --git a/dashboard-ui/scripts/appservices.js b/dashboard-ui/scripts/appservices.js
index 636f41845b..ebbd21b974 100644
--- a/dashboard-ui/scripts/appservices.js
+++ b/dashboard-ui/scripts/appservices.js
@@ -28,6 +28,9 @@
else if (context == 'livetv') {
categories.push('Live TV');
}
+ else if (context == 'notifications') {
+ categories.push('Notifications');
+ }
return categories;
}
@@ -85,6 +88,10 @@
Dashboard.setPageTitle(Globalize.translate('TitleLiveTV'));
page.setAttribute('data-helpurl', 'https://github.com/MediaBrowser/Wiki/wiki/Live%20TV');
}
+ else if (context == 'notifications') {
+ Dashboard.setPageTitle(Globalize.translate('TitleNotifications'));
+ page.setAttribute('data-helpurl', 'https://github.com/MediaBrowser/Wiki/wiki/Notifications');
+ }
}).on('pageshow', "#appServicesPage", function () {
diff --git a/dashboard-ui/scripts/chromecast.js b/dashboard-ui/scripts/chromecast.js
index 650f994dee..fce2dd69c7 100644
--- a/dashboard-ui/scripts/chromecast.js
+++ b/dashboard-ui/scripts/chromecast.js
@@ -82,7 +82,7 @@
// v4 Id F4EB2E8E
// default receiver chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID
- var applicationID = "F4EB2E8E";
+ var applicationID = "69C59853";
// request session
var sessionRequest = new chrome.cast.SessionRequest(applicationID);
diff --git a/dashboard-ui/scripts/notificationsetting.js b/dashboard-ui/scripts/notificationsetting.js
index efaf5de841..294070246b 100644
--- a/dashboard-ui/scripts/notificationsetting.js
+++ b/dashboard-ui/scripts/notificationsetting.js
@@ -14,7 +14,7 @@
var checkedHtml = isChecked ? ' checked="checked"' : '';
- return '
';
+ return '
';
}).join('');