{% from 'components/page-heading.html' import page_heading %} {% from 'components/pagination.html' import pagination %} {{ page_heading(t.topic_memory, t.topics_subtitle) }}

{{ t.topic_inventory }}

{% if errors.get('topic_memory') %}{{ read_error(errors.topic_memory, t.topic_memory) }} {% elif data.topic_memory %} {% else %}

{{ t.topic_memory_empty }}

{{ t.topic_memory_empty_body }}

{% endif %}
{{ pagination(topic_memory_pager, t) }}
{% if errors.get('topic_memory_selected') %}{{ read_error(errors.topic_memory_selected, t.topic_memory) }} {% elif data.topic_memory_selected %}{% set topic = data.topic_memory_selected %}

{{ topic.title }}

topic-memory/{{ topic.artifact.artifact_id }}@{{ topic.artifact.revision }}
{{ t.current_revision if topic.is_current else t.historical_revision }}
{% if not topic.is_current %}

{{ t.view_current_revision }}

{% endif %}

{{ topic.summary }}

{{ t.full_detail }}

{{ topic.detail }}

{{ t.source_references }}

{% if topic.source_refs %}
    {% for source in topic.source_refs %}
  • {{ source.name }}/{{ source.source_id }}
  • {% endfor %}
{% else %}

{{ t.no_sources }}

{% endif %} {% else %}

{{ t.select_topic }}

{{ t.select_topic_hint }}

{% endif %}