{% if items %}
    {% for item in items %} {% set event = item.entry.event %}
  1. {% set name = item.entry.record_title or (item.view_label ~ " " ~ item.entry.record_key) %} {#- One sentence, so each language puts the person, the deed and the record in its own order. -#} {%- set who %}{{ item.who }}{% endset -%} {%- set record -%} {%- if show_record and item.entry.record_key -%} {%- if event != 'deleted' and item.entry.view in (detail_views or []) -%} {{ name }} {%- else -%} {{ name }} {%- endif -%} {%- endif -%} {%- endset %}

    {{ item.said(who, record) }}

    {% if item.entry.ip %} · {{ _('from {address}', address=item.entry.ip) }}{% endif %} {% if item.entry.batch %} · {{ _('part of a bulk action') }}{% endif %}

    {% if item.entry.error %}

    {{ item.entry.error }}

    {% endif %} {% if item.given %}
    {% for line in item.given %}
    {{ line.label }}
    {{ line.value }}
    {% endfor %}
    {% endif %} {% if item.lines %}
    {% for line in item.lines %}
    {{ line.label }}
    {{ line.before }} → {{ line.after }}
    {% endfor %}
    {% endif %}
  2. {% endfor %}
{% else %}

{{ empty or _('Nothing recorded yet.') }}

{% endif %}