{% from '_notes.html' import note_item with context %}
{% set page_title = 'Notes' %}
{% include '_header.html' %}
{#- A node's Notes view (ADR-0140): what somebody knows about the node, kept
beside its status and never part of it (ADR-0047). Every note on the node and
on its lines, newest first — notes of their own and its pins' notes, which
enter here as a pin is set and stay when it ends — on a tab of its own after
History, whose count it carries. An admin adds a note at the top, on the node
or on one of its lines, the line's own control having led here with the line
chosen (`?reason= No note is written on this node.Add a note
{%- for shown in notes %}
{{ note_item(shown, branch, loop.index, editing=editing, mine=mine) }}
{%- endfor %}
{%- else %}