| <html xmlns:py="http://genshi.edgewall.org/" | <html xmlns:py="http://genshi.edgewall.org/" |
| xmlns:i18n="http://genshi.edgewall.org/i18n" | xmlns:i18n="http://genshi.edgewall.org/i18n" |
| xmlns:xi="http://www.w3.org/2001/XInclude" | xmlns:xi="http://www.w3.org/2001/XInclude" |
| py:strip=""> | py:strip=""> |
| <py:if test="dataset_count == 0"> | <py:if test="dataset_count == 0"> |
| <p>We do not currently have usage data for ${publisher.title}</p> | <p>We do not currently have usage data for ${publisher.title}</p> |
| </py:if> | </py:if> |
| <py:if test="dataset_count > 0"> | <py:if test="dataset_count > 0"> |
| <div class="popular_datasets"> | <div class="popular_datasets"> |
| <ul> | <ul> |
| <py:for each="dataset,views,visits in datasets"> | <py:for each="dataset,views,visits in datasets"> |
| <li> | <li> |
| ${h.link_to(dataset.title, h.url_for(controller='package', action='read', id=dataset.name))} | ${h.link_to(dataset.title, h.url_for(controller='package', action='read', id=dataset.name))} |
| </li> | </li> |
| </py:for> | </py:for> |
| </ul> | </ul> |
| <!--! | |
| <p> | <p> |
| <a href="${h.url_for(controller='ckanext.ga_report.controller:GaDatasetReport',action='read_publisher',id=publisher.name)}"> | <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/> | <img py:if="preview_image" src="${preview_image}" /><br/> |
| More usage data for ${publisher.title} | More usage data for ${publisher.title} |
| </a> | </a> |
| </p> | </p> |
| --> | |
| </div> | </div> |
| </py:if> | </py:if> |
| </html> | </html> |