diff --git a/dashboard-ui/appservices.html b/dashboard-ui/appservices.html index 4bf719c3ba..855076d233 100644 --- a/dashboard-ui/appservices.html +++ b/dashboard-ui/appservices.html @@ -39,20 +39,6 @@
${HeaderAvailableServices}
- - diff --git a/dashboard-ui/bower_components/iron-meta/.bower.json b/dashboard-ui/bower_components/iron-meta/.bower.json index 8119ebcf41..9e650790be 100644 --- a/dashboard-ui/bower_components/iron-meta/.bower.json +++ b/dashboard-ui/bower_components/iron-meta/.bower.json @@ -25,14 +25,14 @@ "web-component-tester": "*", "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, - "homepage": "https://github.com/polymerelements/iron-meta", + "homepage": "https://github.com/PolymerElements/iron-meta", "_release": "1.0.3", "_resolution": { "type": "version", "tag": "v1.0.3", "commit": "91529259262b0d8f33fed44bc3fd47aedf35cb04" }, - "_source": "git://github.com/polymerelements/iron-meta.git", + "_source": "git://github.com/PolymerElements/iron-meta.git", "_target": "^1.0.0", - "_originalSource": "polymerelements/iron-meta" + "_originalSource": "PolymerElements/iron-meta" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/iron-resizable-behavior/.bower.json b/dashboard-ui/bower_components/iron-resizable-behavior/.bower.json index 1f0548f3d7..9ae5e84c7e 100644 --- a/dashboard-ui/bower_components/iron-resizable-behavior/.bower.json +++ b/dashboard-ui/bower_components/iron-resizable-behavior/.bower.json @@ -27,14 +27,14 @@ "web-component-tester": "*", "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, - "homepage": "https://github.com/polymerelements/iron-resizable-behavior", + "homepage": "https://github.com/PolymerElements/iron-resizable-behavior", "_release": "1.0.2", "_resolution": { "type": "version", "tag": "v1.0.2", "commit": "85de8ba28be2bf17c81d6436ef1119022b003674" }, - "_source": "git://github.com/polymerelements/iron-resizable-behavior.git", + "_source": "git://github.com/PolymerElements/iron-resizable-behavior.git", "_target": "^1.0.0", - "_originalSource": "polymerelements/iron-resizable-behavior" + "_originalSource": "PolymerElements/iron-resizable-behavior" } \ No newline at end of file diff --git a/dashboard-ui/cordova/registrationservices.js b/dashboard-ui/cordova/registrationservices.js index b4841fd8a1..57871625d8 100644 --- a/dashboard-ui/cordova/registrationservices.js +++ b/dashboard-ui/cordova/registrationservices.js @@ -212,6 +212,43 @@ } } + function validateSync(deferred) { + + Dashboard.getPluginSecurityInfo().done(function (pluginSecurityInfo) { + + if (!pluginSecurityInfo.IsMBSupporter) { + deferred.resolve(); + return; + } + + Dashboard.showLoadingMsg(); + + ApiClient.getRegistrationInfo('Sync').done(function (registrationInfo) { + + Dashboard.hideLoadingMsg(); + + if (!registrationInfo.IsRegistered) { + deferred.resolve(); + return; + } + + Dashboard.alert({ + message: Globalize.translate('HeaderSyncRequiresSupporterMembershipAppVersion'), + title: Globalize.translate('HeaderSync') + }); + + }).fail(function () { + + Dashboard.hideLoadingMsg(); + + Dashboard.alert({ + message: Globalize.translate('ErrorValidatingSupporterInfo') + }); + }); + + }); + } + window.RegistrationServices = { renderPluginInfo: function (page, pkg, pluginSecurityInfo) { @@ -237,6 +274,8 @@ validateLiveTV(deferred); } else if (name == 'manageserver') { validateServerManagement(deferred); + } else if (name == 'sync') { + validateSync(deferred); } else { deferred.resolve(); } diff --git a/dashboard-ui/css/librarymenu.css b/dashboard-ui/css/librarymenu.css index c03759284e..b97cdb0ca1 100644 --- a/dashboard-ui/css/librarymenu.css +++ b/dashboard-ui/css/librarymenu.css @@ -364,6 +364,10 @@ display: none !important; } +.libraryDocument .inboxSidebarLink { + display: none !important; +} + .dashboardDocument .lnkMySync { display: none !important; } diff --git a/dashboard-ui/mysync.html b/dashboard-ui/mysync.html index a240c5ca5b..6f7d524129 100644 --- a/dashboard-ui/mysync.html +++ b/dashboard-ui/mysync.html @@ -4,24 +4,16 @@ ${TitleSync} -
- -
- ${TabSyncJobs} -
+