--- a/ckanext/ga_report/templates/ga_report/site/index.html +++ b/ckanext/ga_report/templates/ga_report/site/index.html @@ -6,6 +6,8 @@ Site usage + + @@ -36,41 +38,41 @@ - Site Usage - ${usage_nav('Site-wide')} + Site Usage ${usage_nav('Site-wide')} + - Totals + Totals Browsers - Browsers - Versions + Browsers + Versions Operating Systems - Operating Systems - Versions + Operating Systems + Versions Social - All networks - Referral links + All networks + Referral links - Languages - Country + Languages + Country - + Show stats table for: ${month_selector(c.month, c.months, c.day)} @@ -162,6 +164,7 @@ + @@ -171,12 +174,6 @@ CKAN.GA_Reports.bind_sparklines(); CKAN.GA_Reports.bind_sidebar(); CKAN.GA_Reports.bind_month_selector(); - if (!window.location.hash) { - window.location.hash='totals'; - } - else { - $(window).trigger('hashchange'); - } });