{% extends "base.html" %} {% block content %}

{{ charts[0].title }}

{{ charts[0].description }}

{{ charts[1].title }}

{{ charts[1].description }}

{{ charts[2].title }}

{{ charts[2].description }}

{% if table_data and table_data.rows %}

Findings by Project

{% for row in table_data.rows %} {% set crit = row.get('critical', 0) | default(0, true) | int %} {% set high = row.get('high', 0) | default(0, true) | int %} {% set med = row.get('medium', 0) | default(0, true) | int %} {% set low = row.get('low', 0) | default(0, true) | int %} {% endfor %}
Project Critical High Medium Low Total
{{ row.get('project.name', '') }} {% if crit > 0 %}{{ crit }}{% else %}0{% endif %} {% if high > 0 %}{{ high }}{% else %}0{% endif %} {% if med > 0 %}{{ med }}{% else %}0{% endif %} {{ low }} {{ crit + high + med + low }}
{% endif %} {% endblock %}