--- a/ckanext/ga_report/templates/ga_report/publisher/read.html
+++ b/ckanext/ga_report/templates/ga_report/publisher/read.html
@@ -9,29 +9,37 @@
-
+
+
+
+
-
-
- Download
-
- Download as CSV
-
-
-
+
+ ${ga_sidebar(download_link=h.url_for(controller='ckanext.ga_report.controller:GaDatasetReport',action='dataset_csv',id=c.publisher_name or 'all',month=c.month or 'all'))}
+
+
+
+ Datasets
+ Site-usage
+ Publishers
+ ${c.publisher.title}
+
-
Site Usage
- ${usage_nav('Datasets')}
+
+
+
+ ${rickshaw_graph(c.graph_data,'dataset-downloads',debug=True)}
+
-
-
-
-
No page views in this period
-
+
+ Statistics for ${h.month_option_title(c.month,c.months,c.day)}:
+
+
+ Statistics for all months:
+
+
No page views in this period.
- ${rickshaw_graph('[{name:"test series",data:[{x:1,y:200},{x:3,y:300},{x:5,y:100}]}]','dataset-downloads',debug=True)}
-
+
Dataset |
Views |
@@ -64,13 +73,14 @@
${h.link_to(package.title or package.name, h.url_for(controller='package', action='read', id=package.name))}
|
- ${views} |
- ${downloads} |
+ ${views} |
+ ${downloads} |
+