Merge pull request #3212 from techAPJ/patch-1

UX: change user visits stat position
This commit is contained in:
Jeff Atwood 2015-02-18 11:45:08 -08:00
commit 7209f67898
3 changed files with 3 additions and 17 deletions

View File

@ -51,6 +51,7 @@
</tr> </tr>
</thead> </thead>
{{#unless loading}} {{#unless loading}}
{{ render 'admin/templates/reports/per_day_counts_report' visits tagName="tbody"}}
{{ render 'admin_report_counts' signups }} {{ render 'admin_report_counts' signups }}
{{ render 'admin_report_counts' topics }} {{ render 'admin_report_counts' topics }}
{{ render 'admin_report_counts' posts }} {{ render 'admin_report_counts' posts }}
@ -106,22 +107,6 @@
</table> </table>
</div> </div>
<div class="dashboard-stats">
<table class="table table-condensed table-hover">
<thead>
<tr>
<th>&nbsp;</th>
<th>{{i18n 'admin.dashboard.reports.today'}}</th>
<th>{{i18n 'admin.dashboard.reports.yesterday'}}</th>
<th>{{i18n 'admin.dashboard.reports.7_days_ago'}}</th>
<th>{{i18n 'admin.dashboard.reports.30_days_ago'}}</th>
</tr>
</thead>
{{#unless loading}}
{{ render 'admin/templates/reports/per_day_counts_report' visits tagName="tbody"}}
{{/unless}}
</table>
</div>
<div class="dashboard-stats"> <div class="dashboard-stats">
<table class="table table-condensed table-hover"> <table class="table table-condensed table-hover">
<thead> <thead>

View File

@ -4,4 +4,5 @@
<td class="value">{{yesterdayCount}}</td> <td class="value">{{yesterdayCount}}</td>
<td class="value">{{sevenDaysAgoCount}}</td> <td class="value">{{sevenDaysAgoCount}}</td>
<td class="value">{{thirtyDaysAgoCount}}</td> <td class="value">{{thirtyDaysAgoCount}}</td>
<td class="value"></td>
</tr> </tr>

View File

@ -564,7 +564,7 @@ en:
xaxis: "Day" xaxis: "Day"
yaxis: "Number of visits" yaxis: "Number of visits"
signups: signups:
title: "Users" title: "New Users"
xaxis: "Day" xaxis: "Day"
yaxis: "Number of new users" yaxis: "Number of new users"
topics: topics: