[403] Rickshaw graph always renders all series, no matter which month is selected.
[ckanext-ga-report.git] / ckanext / ga_report / templates / ga_report / publisher / popular.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<html xmlns:py="http://genshi.edgewall.org/"
  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 usage data for ${publisher.title}</p>
  </py:if>
 
  <py:if test="dataset_count > 0">
    <div class="popular_datasets">
        <ul>
            <py:for each="dataset,views,visits in datasets">
                <li>
                    ${h.link_to(dataset.title, h.url_for(controller='package', action='read', id=dataset.name))}
                </li>
            </py:for>
        </ul>
      <p>
        <a href="${h.url_for(controller='ckanext.ga_report.controller:GaDatasetReport',action='read_publisher',id=publisher.name)}">
          <img py:if="preview_image" src="${preview_image}" /><br/>
          More usage data for ${publisher.title}
        </a>
      </p>
     </div>
  </py:if>
</html>