From c2ce45668cf9d253af22bc339b3f3ca30fded102 Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Thu, 19 Feb 2015 01:08:52 +0530 Subject: [PATCH] UX: change user visits stat position --- .../javascripts/admin/templates/dashboard.hbs | 17 +---------------- .../templates/reports/per_day_counts_report.hbs | 1 + config/locales/server.en.yml | 2 +- 3 files changed, 3 insertions(+), 17 deletions(-) diff --git a/app/assets/javascripts/admin/templates/dashboard.hbs b/app/assets/javascripts/admin/templates/dashboard.hbs index 4fe9b133466..74a508fe608 100644 --- a/app/assets/javascripts/admin/templates/dashboard.hbs +++ b/app/assets/javascripts/admin/templates/dashboard.hbs @@ -51,6 +51,7 @@ {{#unless loading}} + {{ render 'admin/templates/reports/per_day_counts_report' visits tagName="tbody"}} {{ render 'admin_report_counts' signups }} {{ render 'admin_report_counts' topics }} {{ render 'admin_report_counts' posts }} @@ -106,22 +107,6 @@ -
- - - - - - - - - - - {{#unless loading}} - {{ render 'admin/templates/reports/per_day_counts_report' visits tagName="tbody"}} - {{/unless}} -
 {{i18n 'admin.dashboard.reports.today'}}{{i18n 'admin.dashboard.reports.yesterday'}}{{i18n 'admin.dashboard.reports.7_days_ago'}}{{i18n 'admin.dashboard.reports.30_days_ago'}}
-
diff --git a/app/assets/javascripts/admin/templates/reports/per_day_counts_report.hbs b/app/assets/javascripts/admin/templates/reports/per_day_counts_report.hbs index abd92d27f5a..bc025cdf8f0 100644 --- a/app/assets/javascripts/admin/templates/reports/per_day_counts_report.hbs +++ b/app/assets/javascripts/admin/templates/reports/per_day_counts_report.hbs @@ -4,4 +4,5 @@ + diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index 0569ea615e3..97a73223e9a 100644 --- a/config/locales/server.en.yml +++ b/config/locales/server.en.yml @@ -564,7 +564,7 @@ en: xaxis: "Day" yaxis: "Number of visits" signups: - title: "Users" + title: "New Users" xaxis: "Day" yaxis: "Number of new users" topics:
{{yesterdayCount}} {{sevenDaysAgoCount}} {{thirtyDaysAgoCount}}