{#- What a path **no node stands at** is answered with (ADR-0116): one block, whichever view of it was asked for, on the page that answers its address and in the part an open Status page's refresh swaps in when its node leaves. It says what the event log and the pins know of the path, and where the nearest node above it stands; nothing is kept for it that those two do not already keep — and the notes written for it and beneath it, which outlive the node (ADR-0047 decision 7) and are found here, where no Notes view stands (ADR-0140). Expects `no_node` (`_NoNode`), `is_admin`, and what a pin's editor prints. -#} {% from '_pin_sections.html' import suspended_pins, suspended_sentence with context %} {% from '_notes.html' import note_item with context %}

No node stands at {{ no_node.path }}.

{%- if no_node.removed %}

Removed {{ no_node.removed }}: {{ no_node.reason }}. Events lists what was recorded of it.

{%- elif no_node.events %}

It is not reported at present. Events lists what was recorded of it.

{%- elif no_node.notes %}

No check reports a node here, and the event log holds nothing at this path.

{%- else %}

Nothing is recorded of it: no check reports a node here, and the event log holds nothing at this path.

{%- endif %} {#- Every pin held against the path or beneath it, each under the path it is held against: the path's own needs no heading, the page being about it. -#} {%- for path, group in no_node.pins | groupby('path') %}
{%- if path != no_node.pin_path %}

{{ path }}

{%- endif %}

{{ suspended_sentence(group) }}

{{ suspended_pins(path, group, loop.index, url_for('status', branch=no_node.path), is_admin) }}
{%- endfor %} {#- The notes written for the path and beneath it, newest first, each under the path it was written for where that is not the page's own: kept as they were written, with what the node showed then. Nothing links to a line, and nothing is edited: the node they were on is not here to be shown again. -#} {%- if no_node.notes %}

Notes

{{ no_node.notes | length }} {{ 'note is' if no_node.notes | length == 1 else 'notes are' }} kept for it{% if no_node.notes | map(attribute='note.path') | reject('equalto', no_node.pin_path) | list %} and beneath it{% endif %}, newest first.

    {%- for shown in no_node.notes %} {{ note_item(shown, '', loop.index, at=shown.note.path if shown.note.path != no_node.pin_path else '') }} {%- endfor %}
{%- endif %} {%- if no_node.above %}

The nearest node above it that stands is {{ no_node.above }}: History{% if no_node.above_series %}, Series{% endif %}.{% if no_node.removed %} Readings kept of a subject that was removed are listed on its History page.{% endif %}

{%- elif no_node.first_level %}

It would stand at the first level of nodes.

{%- else %}

No node stands above it either: nodes lists the first level.

{%- endif %}