{% comment %} Archive timeline — partial body. Renders the chronological list of ``ArchiveVersion`` entries for a single ``ArchivableMixin`` row. Tabler ``timeline`` component (see https://tabler.io/docs/ui/timeline) with per-revision badges color- coded by reason code. Context: archive_instance: the archivable model instance. archive_versions: QuerySet of ArchiveVersion rows (newest first). archive_has_versions: True if at least one version exists. When no versions exist the partial shows the legacy banner (alert- info) explaining that this row predates the archive-history feature — used for rows that were created before ``ArchivableMixin`` was layered onto the plugin model. {% endcomment %} {% load i18n %}

{% translate "Revision history" %}

{% if archive_has_versions %} {% else %} {% endif %}
{% comment %} Shared modal container — ``#dialog`` is the swap target used by ``ArchiveRevertConfirmView``. Consumer pages that already ship their own ``#modal-archive`` / ``#dialog`` container can omit this block by overriding the template; by default we render it here so the partial is self-contained. {% endcomment %}