--- a/ckanext/ga_report/templates/ga_report/publisher/index.html +++ b/ckanext/ga_report/templates/ga_report/publisher/index.html @@ -3,49 +3,68 @@ xmlns:xi="http://www.w3.org/2001/XInclude" py:strip=""> - 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')}
-

Analytics for ${c.publisher.title}

-

Most viewed datasets

-

Note: this data does not include API calls

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

Statistics for

+ ${month_selector(c.month, c.months, c.day)}
-

${c.publisher.title} dataset list was viewed ${c.publisher_page_views} times in ${c.month_desc}

- - - - - - - - - - - - - +
DatasetViewsVisits
${h.link_to(package.title or package.name, h.url_for(controller='package', action='read', id=package.name))} - ${views}${visits}
+ + + + + + + + +
PublisherDataset Views
+ ${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}
+
+
+ + + + - - - - -