{% load helpers %}

Config Backup {% if oxi_status == 'ok' %} Up to date {% elif oxi_status == 'failing' %} Failing {% elif oxi_status == 'stale' %} Stale {% elif oxi_status == 'unverified' %} Unverified {% else %} No backup {% endif %}

{% if oxi_snapshot %} {% if oxi_run.last_error %} {% endif %} {% if oxi_snapshot.commit_subject %} {% endif %}
Last backup run {% if oxi_run %}{{ oxi_run.last_run }} {{ oxi_run.last_status }}{% else %}not reported by Oxidized{% endif %}
Last error {{ oxi_run.last_error }}
Last change {{ oxi_snapshot.commit_timestamp|placeholder }}
Commit {{ oxi_snapshot.commit_sha|slice:":7" }}
Message {{ oxi_snapshot.commit_subject }}
Config History Download {% else %} {% if oxi_run %}

Last run reported by Oxidized: {{ oxi_run.last_status }} at {{ oxi_run.last_run }}{% if oxi_run.last_error %} — {{ oxi_run.last_error }}{% endif %}

{% endif %}

No configuration backup has been indexed for this device. Confirm Oxidized backs it up and that its node name matches the source mapping.

{% endif %}