{# ####################### content.html ########################## This block prints the main content of the report - it should loop through the output from each module and print it in sections. #} {% for m in report.modules_output %} {% if m.sections | length > 0 %}

{{ m.name }}

{{ m.intro if m.intro }} {% if m['comment'] %}
{{ m['comment'] }}
{% endif %} {% for s in m.sections %} {% if s['print_section'] %} {% if (s['name'] is none or s['name'] | length == 0) and s['helptext'] is not none and s['helptext'] | length > 0 %} {% endif %}
{% if s['name'] is not none and s['name'] | length > 0 %}

{{ s['name'] }} {% if s['helptext'] is not none and s['helptext'] | length > 0 %} {% endif %}

{% endif %} {% if s['description'] is not none and s['description'] | length > 0 %}
{{ s['description'] }}
{% endif %} {% if s['comment'] is not none and s['comment'] | length > 0 %}
{{ s['comment'] }}
{% endif %} {% if s['helptext'] is not none and s['helptext'] | length > 0 %}
{{ s['helptext'] }}
{% endif %} {% if s['plot'] is not none %}
{{ s['plot'] }}
{% endif %} {{ s['content'] if s['content'] }} {{ '
' if not loop.last }}
{% endif %} {% endfor %}
{{ '
' if not loop.last }} {% endif %} {% endfor %}