diff --git a/dashboard-ui/css/site.css b/dashboard-ui/css/site.css index 2ef2ee45e3..5fccd06e18 100644 --- a/dashboard-ui/css/site.css +++ b/dashboard-ui/css/site.css @@ -803,6 +803,11 @@ progress { text-decoration: none !important; } +.newsItemDate { + margin: .25em 0; + color: green; +} + @media all and (max-width: 1440px) { .dashboardHomeRightColumn { @@ -812,6 +817,7 @@ progress { .dashboardContent { max-width: 1000px; + margin-top: -10px; } @media all and (min-width: 1440px) { diff --git a/dashboard-ui/scripts/dashboardpage.js b/dashboard-ui/scripts/dashboardpage.js index 52442d20bd..3d7f1d9f37 100644 --- a/dashboard-ui/scripts/dashboardpage.js +++ b/dashboard-ui/scripts/dashboardpage.js @@ -29,7 +29,7 @@ ApiClient.getProductNews({ - limit: 5 + limit: 6 }).done(function (result) { @@ -39,6 +39,10 @@ itemHtml += '
'; itemHtml += '' + item.Title + ''; + + var date = parseISO8601Date(item.Date, { toLocal: true }); + itemHtml += '
' + date.toLocaleDateString() + '
'; + itemHtml += '
' + item.Description + '
'; itemHtml += '
';