|
<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"> |
|
<div class="pull-right"> |
|
<a href="${h.url_for(controller='ckanext.ga_report.controller:GaPublisherReport',action='index')}" class="btn btn-primary">More popular datasets »</a> |
|
</div> |
|
<h2>Popular datasets</h2> |
|
<h4>${publisher.title}</h4> |
|
<ul> |
|
<py:for each="dataset, _, _ in datasets"> |
|
<li> |
|
<span>${h.link_to(dataset.title, h.url_for(controller='package', action='read', id=dataset.name))}</span> |
|
<div>${h.truncate(dataset.notes, length=80, whole_word=True)}</div> |
|
</li> |
|
</py:for> |
|
</ul> |
|
|
|
</div> |
|
|
|
</html> |
|
|
|
|
|
|
|
|