{% import "macros.html" as m %}
{% if not view.ok %}
  {{ m.absence(view) }}
{% else %}
  {# Live discovery marker (M6): is a traced op streaming right now? Either way the
     Follow-live view is one click away. Interactive affordance → stripped from print. #}
  <div class="fw-livemark fw-noprint">
    {% if view.live_now %}
    <span class="status-indicator status-indicator--running" aria-hidden="true"></span>
    <span class="mono">a traced op is streaming now</span>
    <a class="fw-livemark__link" href="/p/{{ meta.slug }}/live">Follow live →</a>
    {% else %}
    <span class="status-indicator status-indicator--down" aria-hidden="true"></span>
    <span class="mono">nothing streaming right now</span>
    <a class="fw-livemark__link" href="/p/{{ meta.slug }}/live">Open the live view →</a>
    {% endif %}
  </div>
  {% if view['items'] %}
  <p class="lead fw-lede">Every task reported <span class="mono">in_progress</span> — title, owner, the stage it
  advances, and its age ({{ m.derived() }} <span class="mono">now - started_at</span>).</p>
  <div class="fw-cards">
    {% for it in view['items'] %}{{ m.task_card(it.task, age=it.age) }}{% endfor %}
  </div>
  {% else %}
  {{ m.empty_inline(view.empty_title, view.empty_reason) }}
  {% endif %}
{% endif %}
