{% load i18n icons translations %} {% if libre_component_checklist %} {% for check in libre_component_checklist %} {% with component=check.component %} {% if check.alerts or component.effective_agreement %} {% endif %} {% endwith %} {% endfor %}
{% translate "Status" %} {% translate "Component" %} {% translate "License" %} {% translate "Repository" %} {% translate "File format" %}
{% if check %} {% icon "check.svg" %} {% else %} {% icon "alert.svg" %} {% endif %} {{ component }} {% if check.license_name %}{{ check.license_name }}{% endif %} {% if check.license_error %}{{ check.license_error }}{% endif %} {{ check.repository_url }} {{ check.file_format }}
{% if show_alerts and check.alerts %}

{% icon "comment.svg" %} {% translate "Diagnostics" %}

    {% for item in check.alerts %}
  • {{ item.message }} {{ item.alert.get_severity_display }} {% if item.alert.dismissed %} {% translate "dismissed" %} {% endif %}
  • {% endfor %}
{% endif %} {% if component.effective_agreement %}
{% icon "suggest.svg" %} {% translate "Contributor license agreement" %} {{ component.effective_agreement|markdown }}
{% endif %}
{% endif %}