{% extends "base.html" %}
{% from "_help.html" import info %}
{% from "_icon_btn.html" import icon_button %}
{% block title %}Library — Paperful{% endblock %}
{% block content %}
{% macro collection_line(node) %}
{{ node.name }}
{{ node.item_count }}
{{ node.missing_pdf }}
{% endmacro %}
{% macro collection_nodes(nodes) %}
{% for node in nodes %}
{% if node.children %}
{{ library_label }} collections. The target icon sets the collection chip in the header — Wanted, Discover, Ask, Index, and Briefs all follow that chip. Missing PDF is how many items in that collection still have no stored file.
{% if error %}{% endif %}Click a name to expand nested collections. Item counts include subcollections. Set scope on the collection you actually want to work on, not only the parent folder; you land on Wanted for that collection.
{% if collection_tree %}No collections loaded.
{% endif %}Items currently in the collection chip. PDF yes means the library already has a stored file. Open Detail for the summary, if one exists.
| Title | Year | Summary | Detail | |
|---|---|---|---|---|
| {{ row.title }} | {{ row.year or '' }} | {% if row.has_pdf %}yes{% else %}no{% endif %} | {% if row.has_summary %}yes{% else %}—{% endif %} |
{{ icon_button('Detail', 'detail', drawer='lib-' ~ row.key) }}
{{ row.title }} · {{ row.key }} {% if row.has_summary %} {% endif %} {% if prefs.advanced and briefs.llm_on and row.has_pdf %} {% endif %} |
No items loaded for this collection.
{% else %}Set a collection chip to list items here.
{% endif %} {% endblock %}