{% extends "base.html" %} {% from "_icons.html" import icon %} {#- Captures (#398, ADR-008, DESIGN.md "Captures as marginalia"): every document's marks, notes and quotes as ruled rows with a hanging flag, by document and type. The filters are a GET form that works without the script; app.js filters in place and takes a row out at once on Remove, with Undo in the toast (D-723 ruling 1): no struck-through row, no Restore. -#} {% block title %}{{ t('captures.title') }} · {{ t('common.app') }}{% endblock %} {% block main %}
{{ summary }}
{{ t('captures.empty') }}
{% else %}{{ t('captures.none') }}
{% endif %} {% for group in groups %}{% if group.authors %}{{ group.authors }} · {% endif %}{{ t('captures.count', n=group.rows | length) }}
{% if group.off %}{{ t('captures.' ~ group.off, file=group.file) }}
{% endif %} {% if group.rows %}{{ t('capture.kind_' ~ row.type) }}
{%- if row.state == 'found' %}{{ row.at }}
{%- else %} {#- a state the page can't act on: the Listen page's icon beside its word (#955, #1012) #}{{ icon('info', 's') }}{{ t('captures.no_audiobook') if row.state == 'no-audiobook' else t('capture.' ~ row.state | replace('-', '_')) }}
{%- endif %}“{{ row.sentence }}”
{%- if row.text %}
{{ row.text }}
{%- endif %}{%- if row.href %}{{ icon('play', 's') }}{{ t('captures.listen') }}{% endif -%}