{# Version history: every write from this page keeps a timestamped copy of config.toml beside it, and the runtime records which keys it reloaded. A backup owns the file content, so it can be diffed, restored and downloaded; a recorded change only knows which keys moved, and the row says so instead of offering an action it cannot complete. #}
🕘 {{ _('Version history') }} {{ _('%(count)s revision(s)', count=revisions|length) }}

{{ _('Every save keeps a timestamped copy of config.toml next to it. Restoring one copies the current file aside first, revalidates the result with the same validator the CLI uses, and reports which keys need a restart.') }}

{% if not revisions %}

{{ _('No revision yet: nothing has written config.toml from this page.') }}

{% endif %} {% if revisions %} {% for revision in revisions %} {% endfor %}
{{ _('Time') }} {{ _('Source') }} {{ _('Changed keys') }} {{ _('Actions') }}
{{ revision.display_time }} {% if revision.kind == 'backup' and revision.size_bytes %}
{{ _('%(size)s bytes', size=revision.size_bytes) }}
{% endif %}
{{ revision.source }}
{{ _('backup of the file') if revision.kind == 'backup' else _('recorded change') }}
{{ _('%(count)s key(s)', count=revision.changed_count) }} {% if revision.changed_keys %}
{{ revision.changed_keys | join(', ') }}{% if revision.extra_keys %} +{{ revision.extra_keys }}{% endif %}
{% elif revision.kind == 'backup' %}
{{ _('same keys as the file on disk') if not revision.text_differs else _('comments or layout only') }}
{% endif %} {% if revision.detail %}
{{ revision.detail }}
{% endif %}
{% if revision.kind == 'backup' %} {% if revision.restoreable %}
{{ _('Download') }} {% endif %} {% else %} {{ _('read-only record') }} {% endif %}
{% endif %}