{% extends "base.html" %}
{% import "_links.html" as links with context %}
{% block title %}{{ memory.title }} — Cairn Dashboard{% endblock %}
{% block content %}
{{ memory.title }}
{{ memory.type }}{{ memory.status }}
{% if memory.is_latest %}latest{% else %}superseded{% endif %}
{% for tag in memory.tags %}{{ tag }} {% endfor %}
{% if memory.description and memory.description != memory.title %}
{{ memory.description }}
{% endif %}
ID
{{ memory.id }}
Tier
{{ memory.tier or "—" }}
Score
{{ memory.score if memory.score is not none else "—" }}
Recorded
{{ memory.recorded or "—" }}
{% if memory.valid_from %}
Valid from
{{ memory.valid_from }}
{% endif %}
{% if memory.valid_until %}
Valid until
{{ memory.valid_until }}
{% endif %}
{% if memory.session_origin %}
Session origin
{{ memory.session_origin }}
{% endif %}
{{ memory.html | safe }}
{#- Version history: the supersedes declaration and its back-pointer,
each neighbor linking its own detail page. -#}
{% if memory.supersedes or memory.superseded_by %}