{% extends "base.html" %}
{% from "_remove.html" import remove_box with context %}
{% from "_icons.html" import icon %}
{#- The library (#389, DESIGN.md "Library"): the opener, then every document in one table. -#}
{% block title %}{{ t('library.title') }} · {{ t('common.app') }}{% endblock %}
{% block main %}
{{ t('library.sub', n=rows|length) }}{{ t('library.title') }}
{{ t('library.partly_title') }} {{ t('library.partly_body', languages=voice_partly) }}
{% else %}{{ t('library.notice_title') }} {{ t('library.notice_body', size=voice_size) }}
{% endif %}{% if query and not shown %}{{ t('library.search_none', q=query) }}{% endif %}
| {{ t('library.col_document') }} | {{ t('library.col_state') }} | {{ t('library.col_listened') }} | {{ t('library.col_opened') }} | |
|---|---|---|---|---|
| {{ row.title }} {% if row.meta %}{% endif %} {% if row.document %}{{ remove_box(row.document, removals[row.id], row.id == busy_document, true) }}{% endif %} | {{ icon(row.chip[1], 's') }}{{ t('library.state_' ~ row.state) }} | {% if row.made is not none %} {{ t('library.made', n=row.made) }} {% elif row.audio %} {% if row.listened %}{{ t('library.listened', n=row.listened) }}{% else %}{{ t('library.not_started') }}{% endif %} {% else %} {{ t('library.no_audio') }} {% endif %} | {{ row.opened }} |
{{ t('library.empty_body') }}
{{ t('library.specimen_a') }} {{ t('library.specimen_cite') }}{{ t('library.specimen_b') }} {{ t('library.specimen_stat') }}{{ t('library.specimen_c') }}
{{ t('library.specimen_read') }}