Skip to content

Commit

Permalink
SPC-127 Dataset type badge (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansberry committed May 19, 2023
1 parent 7c337d3 commit c1a0790
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ckanext/spectrum/templates/snippets/package_item.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{% ckan_extends %}

{% block heading_private %}
{% if package.private %}
<span class="dataset-private badge bg-secondary">
<i class="fa fa-lock"></i>
</span>
{% endif %}
<span class="dataset-type badge bg-primary">
{{package.type}}
</span>
{% endblock %}

0 comments on commit c1a0790

Please sign in to comment.