diff --git a/openscap_report/report_generators/html_templates/rule_detail.html b/openscap_report/report_generators/html_templates/rule_detail.html index d62d48ca..674a08d6 100644 --- a/openscap_report/report_generators/html_templates/rule_detail.html +++ b/openscap_report/report_generators/html_templates/rule_detail.html @@ -234,12 +234,14 @@ {% endif %} {% include "remedations.html" %} - {% include "oval_definition_detail.html" %} - - - {%- include "oval_graph.html" %} - - + {% if rule.result != "notapplicable" %} + {% include "oval_definition_detail.html" %} + + + {%- include "oval_graph.html" %} + + + {% endif %} {% if rule.cpe_tree -%} CPE check: