Skip to content

Commit

Permalink
ui: use only first type
Browse files Browse the repository at this point in the history
* multiple types may be more precise but sometimes also to much
  information on the starting page
  • Loading branch information
utnapischtim committed Jan 7, 2024
1 parent 264c915 commit fd41e0c
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ <h2>{{ _("Recent uploads") }}</h2>

{# Resource type badge #}
<span class="ui label grey" data-tooltip="{{ _("Resource type") }}" data-inverted="">
{%- for type in r.metadata.types %}
{{ type }}
{%- endfor %}
{{ r.metadata.types[0] }}
</span>

<span class="ui label access-status {{ r.access_status.id }}"
Expand Down

0 comments on commit fd41e0c

Please sign in to comment.