{% extends "base.html" %} {% from "_rows.html" import source_of, hhmm %} {% block title %}Sessions{% endblock %} {% block main %}

Sessions active in the last {{ days }} days{% if person %}, with {{ person }} (everyone){% endif %}.

{% if not complete %}

This list is incomplete: the record has not yet answered everything it holds for this window.

{% endif %} {% if users | length > 1 %} {% endif %} {% set seen = namespace(sources=[]) %} {% for row in rows %} {% set label = source_of(row) | string %} {% if label not in seen.sources %}{% set seen.sources = seen.sources + [label] %}{% endif %} {% endfor %}

Sessions

{% if rows %}
    {% set day = namespace(last='') %} {% for row in rows %} {% set date = (row.last_ts | clock)[:10] %} {% if date != day.last %} {% set day.last = date %}
  1. {{ date }}
  2. {% endif %}
  3. {{ source_of(row) }} · {{ (row.persons or []) | join(', ') or '—' }} {% if row.prompt %} “{{ row.prompt | truncate(160) }}” {% else %} (no prompt) {{ row.session_id }} {% endif %}
  4. {% endfor %}
{% if more %}

More sessions are active in this window than one list shows.

{% endif %} {% else %}

No sessions in this window.

{% endif %}
{% endblock %}