{% extends "admin_base.html" %} {% block extra_head %} {{ super() }} {% endblock %} {% block admin_content %} {% set slug = community['slug'] %} {% set base_path = '/admin/communities/' ~ slug ~ '/ledger' %} {% set run_param = ('run=' ~ run['uid'] ~ '&') if run else '' %}

{{ community['name'] or slug }} {% if run %}run log{% else %}everything the sync did{% endif %}

Back to community
{% if run %}
{{ verdict['title'] }} {{ verdict['headline'] }} {{ local_dt(run['started_at']) }} · {{ run['trigger'] }} · {% if run['dry_run'] %}dry run{% else %}live{% endif %} {% if run['duration_seconds'] is not none %}· {{ run['duration_seconds'] }}s{% endif %} · {{ run['status'] }}
{% else %}

The most recent records across every run, problems first. Open a run from the community page to see exactly what that run did.

{% endif %}
{{ tiles|sum(attribute='listed') }} All listed {% for tile in tiles %} {{ tile['count'] }} {{ tile['label'] }} {% endfor %}
{% if run and run['items_dropped'] %}

{{ run['items_dropped'] }} more records are not listed below: the list keeps at most a fixed number per run. The counts above are exact.

{% endif %} {% for error in run_errors %} {% endfor %}
{% for item in items %} {% else %} {% endfor %}
Records the sync handled, problems first
Result Kind Record Why Detail
{{ item['outcome'] }} {{ item['kind'] }} {{ item['label'] or '(no title)' }} {{ item['origin_uid'] }} {% if item['local_url'] %}Open here{% endif %} {% if item['source_url'] %}Open at source{% endif %} {% if item['reason'] %} {{ item['reason_title'] }} {{ item['reason_text'] }} {% if item['retried'] %}Retried on the next run.{% endif %} {% else %}-{% endif %} {{ item['detail'] or '-' }}
{% if filters %}Nothing matches these filters.{% elif run and run['items_stored'] %}The record list of this run was removed: only the most recent runs keep it. The counts above and the log below are kept.{% elif run %}Nothing to list for this run: every record was unchanged, or nothing was collected.{% else %}Nothing has been synced yet.{% endif %}
{% if pagination['capped'] %}

Showing the first {{ pagination['total'] }} matches. Narrow the filters to see the rest.

{% endif %} {% include "_pagination.html" %}
{% if run_log %}
Full run log
{{ run_log }}
{% endif %}
{% endblock %}