diff --git a/dashboard-ui/appservices.html b/dashboard-ui/appservices.html index cbbe176112..386f863549 100644 --- a/dashboard-ui/appservices.html +++ b/dashboard-ui/appservices.html @@ -32,7 +32,7 @@
${HeaderAvailableServices}
- diff --git a/dashboard-ui/scripts/dashboardpage.js b/dashboard-ui/scripts/dashboardpage.js index 9538dc7dc8..827f54389c 100644 --- a/dashboard-ui/scripts/dashboardpage.js +++ b/dashboard-ui/scripts/dashboardpage.js @@ -24,12 +24,6 @@ Dashboard.getPluginSecurityInfo().done(function (pluginSecurityInfo) { - if (pluginSecurityInfo.IsMBSupporter) { - $('.supporterPromotion', page).hide(); - } else { - $('.supporterPromotion', page).show(); - } - DashboardPage.renderSupporterIcon(page, pluginSecurityInfo); }); @@ -625,7 +619,7 @@ return ""; } - if (clientLowered == "media browser theater") { + if (clientLowered == "emby theater") { return ""; } @@ -1288,7 +1282,7 @@ $(document).on('pagebeforeshow', "#dashboardPage", DashboardPage.onPageShow) $('.tourButtonText', elem).html(Globalize.translate('ButtonTakeTheTourToSeeWhatsNew')); } else { - + $('.tourHeader', elem).html(Globalize.translate('HeaderWelcomeToProjectServerDashboard')); $('.tourButtonText', elem).html(Globalize.translate('ButtonTakeTheTour')); } @@ -1338,4 +1332,26 @@ $(document).on('pagebeforeshow', "#dashboardPage", DashboardPage.onPageShow) }); -})(jQuery, document, window); \ No newline at end of file +})(jQuery, document, window); + +(function () { + + $(document).on('pagebeforeshow', ".type-interior", function () { + + var page = this; + + Dashboard.getPluginSecurityInfo().done(function (pluginSecurityInfo) { + + if (!$('.staticSupporterPromotion', page).length) { + $('.supporterPromotion', page).remove(); + + if (!pluginSecurityInfo.IsMBSupporter) { + $('.content-primary', page).append('
' + Globalize.translate('HeaderSupportTheTeam') + '
' + Globalize.translate('TextEnjoyBonusFeatures') + '
'); + } + } + + }); + + }); + +})(); \ No newline at end of file diff --git a/dashboard-ui/scripts/userparentalcontrol.js b/dashboard-ui/scripts/userparentalcontrol.js index c1e54a3f6b..c57f19e220 100644 --- a/dashboard-ui/scripts/userparentalcontrol.js +++ b/dashboard-ui/scripts/userparentalcontrol.js @@ -165,7 +165,7 @@ itemHtml += '
  • '; itemHtml += ''; - itemHtml += '

    ' + a.DayOfWeek + '

    '; + itemHtml += '

    ' + Globalize.translate('Option' + a.DayOfWeek) + '

    '; itemHtml += '

    ' + getDisplayTime(a.StartHour) + ' - ' + getDisplayTime(a.EndHour) + '

    '; itemHtml += '
    '; diff --git a/dashboard-ui/syncactivity.html b/dashboard-ui/syncactivity.html index 179fa99584..1b2f90b4be 100644 --- a/dashboard-ui/syncactivity.html +++ b/dashboard-ui/syncactivity.html @@ -20,7 +20,7 @@
    -