diff --git a/dashboard-ui/css/card.css b/dashboard-ui/css/card.css index 41aa52896..e4892dafc 100644 --- a/dashboard-ui/css/card.css +++ b/dashboard-ui/css/card.css @@ -292,6 +292,7 @@ .coveredCardImage { background-size: cover; + background-position: center center; } .centeredCardImage { diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index c5f3f2073..ddce9ad64 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -1384,7 +1384,7 @@ } else if (primaryImageAspectRatio && Math.abs(primaryImageAspectRatio - 0.6666667) < .2) { options.shape = options.shape == 'auto' ? 'portrait' : 'portrait'; } else { - options.shape = options.defaultShape || (options.shape == 'auto' ? 'portrait' : 'portrait'); + options.shape = options.defaultShape || (options.shape == 'auto' ? 'square' : 'square'); } } diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js index 26b9eddcc..aaa65a8a2 100644 --- a/dashboard-ui/scripts/site.js +++ b/dashboard-ui/scripts/site.js @@ -348,7 +348,7 @@ var Dashboard = { var html = '' + Globalize.translate('MessagePleaseRestart') + ''; if (systemInfo.CanSelfRestart) { - html += ''; + html += '' + Globalize.translate('ButtonRestart') + ''; } Dashboard.showFooterNotification({ id: "serverRestartWarning", html: html, forceShow: true, allowHide: false }); @@ -366,7 +366,7 @@ var Dashboard = { var html = '' + Globalize.translate('MessagePleaseRefreshPage') + ''; - html += ''; + html += '' + Globalize.translate('ButtonRefresh') + ''; Dashboard.showFooterNotification({ id: "dashboardVersionWarning", html: html, forceShow: true, allowHide: false }); }, @@ -1247,8 +1247,7 @@ var Dashboard = { html += ''; if (percentComplete < 100) { - var btnId = "btnCancel" + installation.Id; - html += ''; + html += '' + Globalize.translate('ButtonCancel') + ''; } }