{% extends "analysis_plugins/general_information.html" %}

{% block analysis_result_details %}

{% for key in firmware.processed_analysis[selected_analysis] %}
    {% if key | is_not_mandatory_analysis_entry %}
        <tr>
            <td class="table-{{ firmware.processed_analysis[selected_analysis][key]['score'] | vulnerability_class }}">{{ key }}</td>
            <td class="d-flex justify-content-between align-items-center">
                {{ firmware.processed_analysis[selected_analysis][key]['description'] }}
                {% if firmware.processed_analysis[selected_analysis][key]['link'] %}
                    <a href="{{ firmware.processed_analysis[selected_analysis][key]['link'] }}" target="_blank"><span class="fas fa-link"></span></a>
                {% endif %}
            </td>
        </tr>
    {% endif %}
{% endfor %}

{% endblock %}
