{% block resources_list %}
- {% if g.is_registry %}
-
- {% for resource in resources %}
- {% set url = h.url_for(pkg.type ~ '_resource.read', id=pkg.id if is_activity_archive else pkg.name, resource_id=resource.id, **({'activity_id': request.args['activity_id']} if 'activity_id' in request.args else {})) %}
- {% set is_active = 'active' if active == resource.id else '' %}
-
- {% for language in resource.language %}
- {% if loop.index <= 2 %}
- {% for option in language_options %}
- {% if option.value == language %}
-
- {{ option.label[h.lang()] }}
-
- {% endif %}
- {% endfor %}
+
+ {% for resource in resources %}
+ {% set url = h.url_for(pkg.type ~ '_resource.read', id=pkg.id if is_activity_archive else pkg.name, resource_id=resource.id, **({'activity_id': request.args['activity_id']} if 'activity_id' in request.args else {})) %}
+ {% set is_active = 'active' if active == resource.id else '' %}
+