diff --git a/backend/core/templates/core/audit_report.html b/backend/core/templates/core/audit_report.html index 4a341a372..5f8109d34 100644 --- a/backend/core/templates/core/audit_report.html +++ b/backend/core/templates/core/audit_report.html @@ -17,6 +17,9 @@

{{ compliance_assessment.name }}: {{ compliance_assessment.framework }}

+ {% if compliance_assessment.get_global_score > -1 %} +

{% trans "Score:" %}

{{ compliance_assessment.get_global_score|floatformat }} + {% endif %} {% bar_graph assessments ancestors %}
diff --git a/backend/core/templates/snippets/req_node.html b/backend/core/templates/snippets/req_node.html index e3ab68bce..fa6e564e8 100644 --- a/backend/core/templates/snippets/req_node.html +++ b/backend/core/templates/snippets/req_node.html @@ -15,11 +15,17 @@
{{ node.status }}
{{ node.result }}
+ {% if node.assessments.is_scored %} +
{{ node.assessments.score }}
+ {% endif %}
{% if node.assessments.requirement.description %}
{{ node.assessments.requirement.description }}
{% endif %} + {% if node.assessments.observation %} +

{% trans "Observation:" %}

{{ node.assessments.observation }}

+ {% endif %} {% if node.bar_graph %} {% bar_graph assessments ancestors node.requirement_node %}