{% from "components/tree/metadata.j2.html" import metadata with context %} {% from "components/tree/description.j2.html" import description with context %} {% from "components/tree/parameters.j2.html" import parameters with context %} {% from "components/tree/duration.j2.html" import duration with context %} {% from "components/tree/summary.j2.html" import summary with context %} {% from "components/tree/stages.j2.html" import stages with context %} {% from "components/tree/status_icon.j2.html" import status_icon with context %} {% from "components/status_label.j2.html" import status_label with context %} {% from "components/duration_label.j2.html" import duration_label with context %} {% macro tree_item(item, level = 0) -%}
  • 0) or (item.files.traces | length > 0) %} {{ SETTINGS.HTML.CUSTOM_ATTRIBUTE}}-tree-node-files {% endif %} {% endif %} > {% include "components/tree/collapse_button.j2.html" %} {% if item.status %} {{ status_icon(item.status) }} {% endif %}
    {{ item.name }}
    {% if 'status' in item %} {{ status_label(item.status, SETTINGS.HTML.CUSTOM_ATTRIBUTE + '-tree-view=overview') }} {% endif %} {% if 'duration' in item %} {{ duration_label(item.duration, SETTINGS.HTML.CUSTOM_ATTRIBUTE + '-tree-view=overview') }} {% endif %}
    {% if item.details %}

    Details : {{ item.details }}

    {% endif %} {% if ('metadata' in item) or ('description' in item) or ('parameters' in item) or ('stages' in item) or ('duration' in item) or ('summary' in item) %}
    {% if 'metadata' in item %} {{ metadata(item['metadata']) }} {% endif %} {% if 'description' in item %} {{ description(item['description']) }} {% elif 'metadata' in item and 'description' in item.metadata %} {{ description(item.metadata.description) }} {% endif %} {% if 'parameters' in item %} {{ parameters(item['parameters']) }} {% endif %} {% if 'stages' in item %} {{ stages(item['stages']) }} {% endif %} {% if 'duration' in item %} {{ duration(item['duration']) }} {% endif %} {% if 'summary' in item %} {{ summary(item['summary']) }} {% endif %} {% if 'files' in item %} {% if (item.files.logs | length > 1) or (item.files.traces | length > 1) %} {% endif %} {% endif %}
    {% endif %} {% if 'children' in item %} {% endif %}
  • {%- endmacro %}