Added a link to the publisher statistics
Added a link to the publisher statistics

--- a/ckanext/ga_report/helpers.py
+++ b/ckanext/ga_report/helpers.py
@@ -33,6 +33,7 @@
     ctx = {
         'dataset_count': len(datasets),
         'datasets': results,
+
         'publisher': publisher
     }
 

--- a/ckanext/ga_report/plugin.py
+++ b/ckanext/ga_report/plugin.py
@@ -21,7 +21,8 @@
         """
         from ckanext.ga_report.helpers import most_popular_datasets
         return {
-            'most_popular_datasets': most_popular_datasets
+            'ga_report_installed': lambda: True,
+            'most_popular_datasets': most_popular_datasets,
         }
 
     def after_map(self, map):

--- a/ckanext/ga_report/templates/ga_report/publisher/popular.html
+++ b/ckanext/ga_report/templates/ga_report/publisher/popular.html
@@ -2,6 +2,10 @@
   xmlns:i18n="http://genshi.edgewall.org/i18n"
   xmlns:xi="http://www.w3.org/2001/XInclude"
   py:strip="">
+  <py:if test="dataset_count == 0">
+    <p>We do not currently have analytics data for ${publisher.title}</p>
+  </py:if>
+
   <py:if test="dataset_count > 0">
     <div class="popular_datasets">
         <ul class="popular_dataset_list">

--- a/ckanext/ga_report/templates/ga_report/site/index.html
+++ b/ckanext/ga_report/templates/ga_report/site/index.html
@@ -9,6 +9,10 @@
     <li class="widget-container boxed widget_text">
       <h4>Statistics</h4>
         <p>It is possible to <a href="${h.url_for(controller='ckanext.ga_report.controller:GaReport',action='csv',month=c.month)}">export the analytics data</a> as a CSV file, which contains all of the information for ${c.month_desc}</p>
+    </li>
+    <li class="widget-container boxed widget_text">
+        <h4>Publisher statistics</h4>
+        <p>You can view statistics about specific publishers at the <a href="${h.url_for(controller='ckanext.ga_report.controller:GaPublisherReport',action='index')}">Publisher Analytics</a> page</p>
 
     </li>
   </py:match>