--- a/ckanext/ga_report/templates/ga_report/publisher/index.html
+++ b/ckanext/ga_report/templates/ga_report/publisher/index.html
@@ -5,75 +5,63 @@
- Publisher Analytics for ${g.site_title}
+ Usage by Publisher
+
-
- Publishers
-
- Dataset views records the number of times a specific dataset page has been viewed. Visits records the number of unique site visits.
-
-
- Note: this data does not include API calls.
-
-
-
- Download
-
- Download as CSV
-
-
+ ${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', None)}
+
Site Usage ${usage_nav('Publishers')}
+
-
-
-
- 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} |
+
-
-
-
-
-
+
+
-
+