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 | <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 class="">${h.link_to("More usage data for " + publisher.title, h.url_for(controller='ckanext.ga_report.controller:GaDatasetReport',action='read_publisher',id=publisher.name))}</p> </div> </py:if> </html> |