{# -*- coding: utf-8 -*- This file is part of Invenio. Copyright (C) 2025 CERN. Invenio is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. #} {% import "invenio_checks/requests/severity_level_icons.html" as severity_level_icons_tpl %} {% set first_check = (checks | map(attribute='config.check_cls') | sort(attribute='sort_order') | first).id %} {% set check_classes = checks | map(attribute="config.check_cls") | unique(attribute="id") %}
{% for checks_group in checks | groupby('config.check_id') %} {% set check_id = checks_group.grouper %}
{% with checks=checks_group.list %} {% set tab_template = 'invenio_checks/requests/' + check_id + '_tab.html' %} {% include tab_template %} {% endwith %}
{% endfor %}