{# settings/timeline.html — the timeline's areas, and for each type of entry the area it sorts under and whether it is shown. Applied when the timeline is read, so a change re-sorts entries already written. #} {% extends "base.html" %} {% from "_macros.html" import crumbs %} {% block title %}Settings — Timeline — Steward{% endblock %} {% from "settings/_tabs.html" import settings_tabs %} {% block section_tabs %}{{ settings_tabs("timeline") }}{% endblock %} {% block breadcrumb %}{{ crumbs([("Settings", "/settings/"), ("Timeline", "")]) }}{% endblock %} {% block content %} {% if error %}{% endif %}
{{ csrf_field() }}

Areas

What part of the infrastructure an entry is about.

{% for key, label in cfg.areas %} {% endfor %}
NameRemove, moving its entries to

What the timeline shows

A hidden type is still recorded; showing it again brings its entries back.

{% for kind, types in by_kind.items() %} {% for t in types %} {% set override = cfg.types.get(t.key, {}) %} {% endfor %} {% endfor %}
TypeAreaShown
{{ kinds[kind] }}
{{ t.label }}
{{ t.about }}

“As recorded” sorts each entry under the area it was written with: an alert by what its rule watches, a change by the area its author picked.

Keeping it

{% endblock %}