{% 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=`), and changes the newest note of its own beneath it. A refused write comes back here with why and with the admin's words in the form they were written in. At the Copy page's measure; not polled: notes are read, as History is. -#}
{% include '_page_band.html' %} {%- if refused %} {%- endif %} {%- if may %} {%- set adding = (refused and not editing) or line %}
Add a note
{%- if lines %}
{%- endif %}
Markdown is supported; raw HTML is shown as text. A note is kept beside the node's status and changes nothing it shows.
{%- endif %} {%- if notes %}
    {%- for shown in notes %} {{ note_item(shown, branch, loop.index, editing=editing, mine=mine) }} {%- endfor %}
{%- else %}

No note is written on this node.

{%- endif %}
{% include '_page_end.html' %}