{% from "macros.html" import icon, job_chip, flow_tree with context %} {# Flow content only. The #flow-section wrapper (in flow_section.html) is the stable live region; while the flow is live it morphs THIS body in on each job event - the wrapper, the page chrome and the data/opts wells never move. Same shape as workers_list.html inside #workers-list. Guard with the SAME condition flow_section uses: the live region re-fetches this body directly (flow_fragment route), so a parent removed/cancelled between events arrives here as job=None or flow=None with children_total=0 - render nothing rather than divide by zero. #} {% if job and job.flow %}
{{ job.children_results|pretty }}