Skip to content

Commit

Permalink
no popular views for inventory
Browse files Browse the repository at this point in the history
  • Loading branch information
FuhuXia committed Jan 30, 2025
1 parent 71ef20a commit f3758ee
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
</span>
</div>
<span class="format-label" property="dc:format" data-format="{{ res.format.lower() or 'data' }}">{{ res.format }}</span>
{{ h.popular('views', res.tracking_summary.total, min=10) }}
</a>
{% endblock %}
<p class="description">
Expand Down
4 changes: 0 additions & 4 deletions ckanext/usmetadata/templates/snippets/package_item.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,7 @@ <h3 class="dataset-heading">
{% elif package.get('state', '').startswith('deleted') %}
<span class="label label-important">{{ _('Deleted') }}</span>
{% endif %}
{{ h.popular('recent views', package.tracking_summary.recent, min=10) if package.tracking_summary }}
</h3>
{%- if banner -%}
<span class="banner">{{ _('Popular') }}</span>
{% endif %}
{%- if notes -%}
{{ h.redacted_icon(package, 'notes')|safe }}
<div class="redacted-md">{{ notes|urlize }}</div>
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name='ckanext-usmetadata',
version='0.3.2',
version='0.3.3',
description='US Metadata Plugin for CKAN',
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit f3758ee

Please sign in to comment.