[385] Use page_heading helper function consistently
[ckanext-ga-report.git] / ckanext / ga_report / templates / ga_report / ga_popular_single.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
31
<html xmlns:py="http://genshi.edgewall.org/"
  xmlns:i18n="http://genshi.edgewall.org/i18n"
  xmlns:xi="http://www.w3.org/2001/XInclude"
  py:strip="">
 
 
<div class="popular_datasets">
    <h2>Featured dataset</h2>
 
    <div class="dataset-summary boxed">
          <a class="dataset-header" href="${h.url_for(controller='package', action='read', id=dataset['name'])}">
            <h3>${dataset['title']}</h3>
          </a>
          <h4>
            <strong>Publisher</strong> :
            <a href="/publisher/${publisher['name']}">${publisher['title']}</a>
          </h4>
          <div>${h.truncate(dataset['notes_rendered'], length=200, whole_word=True)}</div>
    </div>
    <div>
      <a href="${h.url_for(controller='ckanext.ga_report.controller:GaDatasetReport',action='read')}" class="btn">Other popular datasets</a>
      <a href="${h.url_for(controller='ckanext.ga_report.controller:GaReport',action='index')}" class="btn">All usage data</a>
    </div>
 </div>
 
 
</html>