{% macro render_tree(node, depth=0, parent=None) %} {% set batch = node.name %} Batch {{ node.name.id }} {{ node.name.state }} {% for child in node.children|sort(attribute='name.id', reverse=True) %} {{ render_tree(child, depth+1, parent=batch.id) }} {% endfor %} {% endmacro %} {% set state_of_tasks = "batches" %} {% extends "status.html" %} {% block title %}List of processing batches{% endblock %} {% block header %}List of processing batches{% endblock %} {% block status_breadcrumb %}
  • Batches
  • {%endblock%} {% block status_body %}

    Currently {{ queue_sizes["batches"] }} active build batches

    {% for root_node in batch_trees|sort(attribute='name.id', reverse=True) %} {% if loop.first %}
    {% endif %} {{ render_tree(root_node) }} {% if loop.last %}
    Batch ID Batch state
    {% endif %} {% else %}

    No batches being currently processed.

    {% endfor %} {% endblock %}