Changed to provide a lambda to check if the extension is installed
[ckanext-ga-report.git] / ckanext / ga_report / templates / ga_report / publisher / popular.html
blob:a/ckanext/ga_report/templates/ga_report/publisher/popular.html -> blob:b/ckanext/ga_report/templates/ga_report/publisher/popular.html
--- 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">