Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

Commit

Permalink
Added get package stats for google analytics in extension
Browse files Browse the repository at this point in the history
  • Loading branch information
toavina committed Dec 10, 2024
1 parent 04e3a13 commit 3f67ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/zarr/templates/snippets/package_item.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ <h2 class="dataset-heading">
{% endfor %}
</h2>
<div class="modified">
{{_('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) }} &middot; {{_('Downloads:')}} {{ h.get_package_stats(package.id) }}
</div>
{% endblock %}

0 comments on commit 3f67ab2

Please sign in to comment.