From 1663b40737da16af5565a9ac1d655ef5d9c75bec Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 7 Jul 2013 11:53:26 -0400 Subject: [PATCH] update notification styles --- dashboard-ui/css/notifications.css | 2 ++ dashboard-ui/dashboard.html | 3 ++- dashboard-ui/scripts/dashboardpage.js | 10 ++++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/dashboard-ui/css/notifications.css b/dashboard-ui/css/notifications.css index 5adf86e9e7..44be7c0df6 100644 --- a/dashboard-ui/css/notifications.css +++ b/dashboard-ui/css/notifications.css @@ -66,6 +66,8 @@ .flyoutNotification p { margin: .5em 0; + white-space: normal; + max-width: 95%; } .notificationName { diff --git a/dashboard-ui/dashboard.html b/dashboard-ui/dashboard.html index e98daf75a4..d46d273454 100644 --- a/dashboard-ui/dashboard.html +++ b/dashboard-ui/dashboard.html @@ -54,7 +54,7 @@

Manage Scheduled Tasks

-
+
diff --git a/dashboard-ui/scripts/dashboardpage.js b/dashboard-ui/scripts/dashboardpage.js index e4732c684e..8a17becdec 100644 --- a/dashboard-ui/scripts/dashboardpage.js +++ b/dashboard-ui/scripts/dashboardpage.js @@ -9,6 +9,16 @@ DashboardPage.lastAppUpdateCheck = null; DashboardPage.lastPluginUpdateCheck = null; + + Dashboard.getPluginSecurityInfo().done(function (pluginSecurityInfo) { + + if (pluginSecurityInfo.IsMBSupporter) { + $('#contribute').hide(); + } else { + $('#contribute').show(); + } + + }); }, onPageHide: function () {