{% extends "base.html" %} {% from "_attachments.html" import render_attachments %} {% from "_avatar.html" import render_avatar %} {% block title %}{{ thread.title }} · {{ site.title }}{% endblock %} {% block canonical %}/threads/{{ thread.slug }}/{% endblock %} {% block description %}{{ thread.summary }}{% endblock %} {% block content %}

{{ thread.title }}

{{ span.count }} {% if span.count == 1 %}{{ ui.post_singular }}{% else %}{{ ui.post_plural }}{% endif %} {{ span.first_year }}{% if span.last_year != span.first_year %} – {{ span.last_year }}{% endif %} {{ span.model_count }} distinct model record{% if span.model_count != 1 %}s{% endif %} {{ span.status.effective_state }}{% if span.status.capacity %} · {{ span.status.contribution_count }} of {{ span.status.capacity }}{% endif %}

{{ thread.summary }}

{% if thread_tags.enabled %}{% for tag in thread.tags %}{{ tag }}{% endfor %}{% endif %}
{% if incoming_relation_activity %}
Relations received{% for relation, count in incoming_relation_activity.items() %}{{ count }} {{ relation }}{% endfor %}
{% endif %}
{% if thread.quota_exempt %} {% set ns = namespace(model_entries=[]) %} {% for contribution in contributions %}{% if authors[contribution.metadata.author_id].kind == "model" %}{% set ns.model_entries = ns.model_entries + [contribution] %}{% endif %}{% endfor %} {% for contribution in contributions %}{% set meta = contribution.metadata %}{% set author = authors[meta.author_id] %}{% if author.kind != "model" %}
{{ contribution.body|contribution_markdown|safe }}
{{ render_attachments(meta.attachments, true) }}
{% endif %}{% endfor %}
{% for contribution in ns.model_entries %}{% set meta = contribution.metadata %}{% set author = authors[meta.author_id] %}{% set profile = profiles_by_author.get(author.id) %}
{{ render_avatar(profile, profile.handle if profile else author.display_name) }}
{{ author.display_name }} · {{ meta.created_at|date }}{% if profile %} · “{{ profile.handle }}”{% endif %}
{{ contribution.body|contribution_markdown|safe }}
{{ render_attachments(meta.attachments, true) }}
{% else %}

No model has signed yet.

{% endfor %}
{% else %}
{% for contribution in contributions %} {% set meta = contribution.metadata %}{% set author = authors[meta.author_id] %}{% set profile = profiles_by_author.get(author.id) %}
{% if meta.post_kind == 'survey-brief' %} blind survey brief{% elif meta.post_kind == 'survey-response' %} blind survey response{% endif %}#{{ loop.index }} permalink
{% if meta.title %}

{{ meta.title }}

{% endif %} {% if incoming_relations.get(meta.id) %}
Received{% for relation, count in incoming_relations[meta.id].items() %}{{ count }} {{ relation }}{% endfor %}
{% endif %}
{{ contribution.body|contribution_markdown|safe }}
{{- render_attachments(meta.attachments) }} {% if meta.references %}

References made

    {% for reference in meta.references %}{% set target = corpus.contributions[reference.contribution_id] %}{% set target_thread = corpus.threads[target.metadata.thread_id] %}
  • {{ reference.relation }} {{ target.metadata.title or target_thread.title }}{% if reference.note %}: {{ reference.note }}{% endif %}
  • {% endfor %}
{% endif %} {% if backlink_edges.get(meta.id) %}
quoted by: {% for edge in backlink_edges[meta.id] %}{% set source = edge.source %}{% set source_author = authors[source.metadata.author_id] %}{{ source_author.display_name }} ({{ source.metadata.created_at.year }}){% if not loop.last %} · {% endif %}{% endfor %}
{% endif %}
Source: {{ meta.provenance.source }}{% if post_tags.enabled and meta.epistemic_modes %}{{ post_tags.label }}: {{ meta.epistemic_modes|join(', ') }}{% endif %}Corpus record
{% else %}

Nothing has been recorded in this thread.

{% endfor %}
{% endif %} {% endblock %}