{% extends "base.html" %} {% block title %}{{ project_name }} · {{ t("site.tool") }}{% endblock %} {% block content %}

{{ t("dash.title") }}

{{ t("dash.subtitle") }}

{# ---------------------------------------------------------- current focus #} {% if focus.set and not focus.missing %}

{{ t("node.focus_flag") }}{{ t("dash.focus") }}

{{ focus.id }}{{ focus.title }}

{{ focus.status.label }}{% if focus.status.i18n %} {{ focus.status.raw }}{% endif %} {% if not attention.any %} {{ t("dash.no_blockers") }} {% endif %} {% if focus.last_updated %} {{ t("node.updated") }} {{ focus.last_updated }} {% endif %}

{% if focus.parent_path %}

{{ t("dash.parent_path") }} {% for crumb in focus.parent_path %} {{ crumb.id }}{% if not loop.last %}{% endif %} {% endfor %}

{% endif %}

{{ t("node.next_action") }}

{% if focus.next_action %}

{{ focus.next_action }}

{% else %}

{{ t("node.next_action.empty") }}

{% endif %}
{% for track in focus.tracks %}
{{ track.label }}
{{ track.status_label }}{% if track.i18n %} {{ track.raw }}{% endif %}
{% endfor %}
{{ focus.id }} →
{{ focus.capsule }}
{% elif focus.missing %}

{{ t("dash.focus") }}

{{ t("dash.focus.missing", id=focus.id) }}

{{ t("dash.focus.missing_hint") }}

{% else %}

{{ t("dash.focus") }}

{{ t("dash.focus.none") }}

{{ t("dash.focus.none_hint") }}

{% endif %} {# -------------------------------------------------------- needs attention #} {% if attention.any %}

{{ t("dash.attention") }}

{% if attention.blocking_rows %}

{{ t("dash.attention.blocking") }} {{ attention.blocking_count }}

{% for row in attention.blocking_rows %} {% for decision in row.group.decisions %} {% endfor %} {% endfor %}
{{ t("dash.col.node") }}{{ t("dash.col.decision") }}{{ t("dash.col.summary") }}
{{ row.node.id }} {{ row.node.title }} {{ decision.id }} {{ decision.summary }}
{% endif %} {% if attention.blocked_nodes %}

{{ t("dash.attention.blocked") }} {{ attention.blocked_nodes | length }}

{% endif %} {% if attention.deferred_deps %}

{{ t("dash.attention.deferred_deps") }} {{ attention.deferred_deps | length }}

{% endif %}
{% endif %} {# ------------------------------------------------------------ focus branch #} {% if branch.set %}

{{ t("dash.branch") }}

{{ t("dash.branch.hint") }}

{% if branch.lineage %}

{% for crumb in branch.lineage %} {{ crumb.id }} {{ crumb.title }} {% endfor %} {{ branch.current.id }}

{% endif %} {% if branch.siblings %}

{{ t("dash.branch.siblings") }}

{% endif %} {% if branch.children %}

{{ t("dash.branch.children") }}

{% endif %} {% if not branch.siblings and not branch.children %}

{{ t("dash.branch.empty") }}

{% endif %}
{% endif %} {# --------------------------------------------------- progress + ready queue #}

{{ t("dash.progress") }}

{{ progress.total }}{{ t("dash.progress.total") }}
{{ progress.done }}{{ t("dash.progress.done") }}
{{ progress.active }}{{ t("dash.progress.active") }}
{{ progress.blocked }}{{ t("dash.progress.blocked") }}
{{ progress.pending }}{{ t("dash.progress.pending") }}
{{ progress.deferred }}{{ t("dash.progress.deferred") }}

{{ t("dash.progress.note") }}

{{ t("dash.queue") }}

{{ t("dash.queue.hint") }}

{% if next_queue %} {% else %}

{{ t("dash.queue.empty") }}

{% endif %}
{# -------------------------------------------------------- recently updated #}

{{ t("dash.recent") }}

{% if recently_updated %}
{% for row in recently_updated %} {% endfor %}
{{ t("dash.col.updated") }}{{ t("dash.col.node") }}{{ t("dash.col.status") }}
{{ row.date }} {{ row.node.id }} {{ row.node.title }} {{ row.node.status.label }}
{% else %}

{{ t("dash.recent.empty") }}

{% endif %}
{% endblock %}