--- a/ckanext/ga_report/templates/ga_report/publisher/index.html +++ b/ckanext/ga_report/templates/ga_report/publisher/index.html @@ -3,55 +3,68 @@ xmlns:xi="http://www.w3.org/2001/XInclude" py:strip=""> - Publisher Analytics for ${g.site_title} + + + 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 Usage ${usage_nav('Publishers')}
-

Publisher Analytics

-

The top 20 publishers

-
+ +
+ + ${rickshaw_graph(c.top_publishers_graph,'publishers')} + +
+
- - +

Statistics for

+ ${month_selector(c.month, c.months, c.day)}
- - - - - - +
PublisherDataset ViewsVisits
+ + + + - - - - - + + + +
PublisherDataset 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}
- - -
- - +
+ - + - -