mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 05:55:48 +01:00
show monthly page views
This commit is contained in:
@@ -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'));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user