show monthly page views

This commit is contained in:
barisusakli
2014-12-20 20:05:59 -05:00
parent b07a522c60
commit 94cf29d42c
5 changed files with 57 additions and 18 deletions

View File

@@ -331,6 +331,11 @@ define('admin/general/dashboard', ['semver'], function(semver) {
graphs.traffic.scale.xLabels = getHoursArray();
graphs.traffic.update();
$('#pageViewsThisMonth').html(data.monthlyPageViews.thisMonth);
$('#pageViewsLastMonth').html(data.monthlyPageViews.lastMonth);
utils.addCommasToNumbers($('#pageViewsThisMonth'));
utils.addCommasToNumbers($('#pageViewsLastMonth'));
});
}