{% extends "library/_layout.html" %} {% from "_macros.html" import icon %} {% set section = "notes" %} {% block title %}Notes - {{ brand.name }}{% endblock %} {% block heading %}Notes{% endblock %} {% block actions %} {{ icon("plus", "icon--sm") }} New note {% endblock %} {% block library_content %}

Longer things worth keeping between conversations. A model writes these itself when it works something out, and you can edit or delete any of them — they are yours, not its.

{# Two views, as links, so a filtered list is a real URL you can keep -- the same shape the admin lists use. A badge on a row answers "is this mine?"; the question somebody has is "what have people given me?", which a mixed list of two hundred cannot answer. #}
All notes Shared with me
{% if q %}Clear{% endif %}
{% if not notes %}
{{ icon("pencil", "empty__mark") }}

{{ "Nothing found" if q else "No notes yet" }}

{% if q %} No note matches “{{ q }}”. {% else %} Give a model the notes tool and it will start keeping them, or write the first one yourself. {% endif %}

{% else %} {% include "library/_pager.html" %} {% endif %} {% endblock %}