{#- Minimal theme: a project on the index page (index.html), never rendered for the classic theme. One compact row per project — name, then dim mono metadata (sessions, messages, tokens, date range) — instead of a card. A project with sessions is a
: the row is its summary (the name stays a link to the combined transcript), and opening it lists the sessions in the transcript's row language: a time gutter, a dot on a rail, the session's title and first prompt. The classes the index page's session finder reads are kept (components/search.html, buildSearchIndex): `.project-card`, `.project-name a`, `.project-stats`, and per session `.session-link` with `.session-preview` and `.session-link-meta`. Dates are rendered in UTC and localised by pages.js (`data-mn-from` / `data-mn-ts`). -#} {% macro mn_project_row(project) -%} {%- set mn_rows = mn_index_sessions(project) -%} {%- set mn_span = mn_project_when(project) -%}
{% if mn_rows %}
{% else %}
{% endif -%} {% if project.combined_suppressed %}{{ project.display_name }}{% else %}{{ project.display_name }}{% endif %}{% if project.is_archived %}archived{% endif %} {{ mn_project_meta(project) | join(' · ') }}{% if mn_span %} · {{ mn_span.text }}{% endif %} {%- if project.html_variants is defined and project.html_variants|length > 1 %} {% for variant in project.html_variants %}{{ variant.label }}{% endfor %} {%- endif %} {%- if project.team_names %} {% if project.team_names|length == 1 %}team{% else %}teams{% endif %} {% for team in project.team_names %}{{ team }}{% if not loop.last %} {% endif %}{% endfor %} {%- endif %} {% if mn_rows %}
{% else %}
{% endif %} {%- endmacro %}