ui: use only first type

* multiple types may be more precise but sometimes also to much
  information on the starting page
This commit is contained in:
Christoph Ladurner
2024-01-07 16:44:16 +01:00
parent 264c915e89
commit fd41e0c073

View File

@@ -31,9 +31,7 @@
{# Resource type badge #} {# Resource type badge #}
<span class="ui label grey" data-tooltip="{{ _("Resource type") }}" data-inverted=""> <span class="ui label grey" data-tooltip="{{ _("Resource type") }}" data-inverted="">
{%- for type in r.metadata.types %} {{ r.metadata.types[0] }}
{{ type }}
{%- endfor %}
</span> </span>
<span class="ui label access-status {{ r.access_status.id }}" <span class="ui label access-status {{ r.access_status.id }}"