From 3f67ab27d129fb027ad31da77710e2051a12a4f5 Mon Sep 17 00:00:00 2001 From: toavina Date: Tue, 10 Dec 2024 09:41:28 +0300 Subject: [PATCH] Added get package stats for google analytics in extension --- ckanext/zarr/templates/snippets/package_item.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/zarr/templates/snippets/package_item.html b/ckanext/zarr/templates/snippets/package_item.html index 51d923c..a12f5ef 100644 --- a/ckanext/zarr/templates/snippets/package_item.html +++ b/ckanext/zarr/templates/snippets/package_item.html @@ -12,6 +12,6 @@

{% endfor %}

- {{_('Modified')}} {{ h.time_ago_from_timestamp(package.metadata_modified) }}, {{ h.get_last_modifier(package.id) }} + {{_('Modified')}} {{ h.time_ago_from_timestamp(package.metadata_modified) }}, {{ h.get_last_modifier(package.id) }} · {{_('Downloads:')}} {{ h.get_package_stats(package.id) }}
{% endblock %} \ No newline at end of file