--- a/ckanext/ga_report/templates/ga_report/publisher/index.html +++ b/ckanext/ga_report/templates/ga_report/publisher/index.html @@ -3,64 +3,84 @@ xmlns:xi="http://www.w3.org/2001/XInclude" py:strip=""> - Publisher Analytics for ${g.site_title} + - - - Publishers - The table shows the top 20 publishers as recorded by page views of datasets owned by that publisher, and the number of visits to each publisher's home page. - + Usage by Publisher + + + + ${ga_sidebar(download_link=h.url_for(controller='ckanext.ga_report.controller:GaDatasetReport',action='publisher_csv',month=c.month or 'all'))} + + + + + + + + + + + + + + + + + Site Analytics + Publishers + + - Publisher Analytics - The top 20 publishers of ${c.month_desc} - + + Site-wide + | + Publishers + | + Datasets + + + + + + ${rickshaw_graph(c.top_publishers_graph,'publishers')} + + + - - All time - - - ${desc} - - - + Statistics for + ${month_selector(c.month, c.months, c.day)} - - - Publisher - Dataset Views - Visits - + + + Publisher + Dataset Views + - - ${h.link_to(publisher.title, h.url_for(controller='ckanext.ga_report.controller:GaPublisherReport', action='read', id=publisher.name))} - - ${views} - ${visits} - + + + ${h.link_to(publisher.title, h.url_for(controller='ckanext.ga_report.controller:GaDatasetReport', action='read_publisher', id=publisher.name) + (("?month=" + c.month) if c.month else ''))} + + ${views} + - - - - - + + - +
The table shows the top 20 publishers as recorded by page views of datasets owned by that publisher, and the number of visits to each publisher's home page.