From: Ross Jones Date: Tue, 30 Oct 2012 14:30:15 +0000 Subject: Added a class for spacing to More link X-Git-Url: http://maxious.lambdacomplex.org/git/?p=ckanext-ga-report.git&a=commitdiff&h=867adcffd5010c6659c6544785f97fd979705dcd --- Added a class for spacing to More link --- --- a/ckanext/ga_report/helpers.py +++ b/ckanext/ga_report/helpers.py @@ -33,6 +33,7 @@ ctx = { 'dataset_count': len(datasets), 'datasets': results, + 'publisher': publisher } --- a/ckanext/ga_report/plugin.py +++ b/ckanext/ga_report/plugin.py @@ -21,7 +21,8 @@ """ from ckanext.ga_report.helpers import most_popular_datasets return { - 'most_popular_datasets': most_popular_datasets + 'ga_report_installed': lambda: True, + 'most_popular_datasets': most_popular_datasets, } def after_map(self, map): --- a/ckanext/ga_report/templates/ga_report/publisher/popular.html +++ b/ckanext/ga_report/templates/ga_report/publisher/popular.html @@ -2,17 +2,20 @@ xmlns:i18n="http://genshi.edgewall.org/i18n" xmlns:xi="http://www.w3.org/2001/XInclude" py:strip=""> + +

We do not currently have analytics data for ${publisher.title}

+
+ --- a/ckanext/ga_report/templates/ga_report/site/index.html +++ b/ckanext/ga_report/templates/ga_report/site/index.html @@ -9,6 +9,10 @@
  • Statistics

    It is possible to export the analytics data as a CSV file, which contains all of the information for ${c.month_desc}

    +
  • +
  • +

    Publisher statistics

    +

    You can view statistics about specific publishers at the Publisher Analytics page