{% extends "base.html" %} {% load i18n %} {% load static %} {% load bootstrap_icons %} {% block title %}{% trans "Removed VMs" %}{% endblock %} {% block page_heading %}{% trans "Removed VMs" %}{% endblock page_heading %} {% block content %}

{% trans "VMs that vanished from their compute. Their owners, tags, protection and schedules come back if the same UUID shows up again before the record expires; their backups come back with them." %}

{% if not tombstones %}
{% bs_icon 'info-circle' %} {% trans "No removed VMs" %}
{% else %}
{% trans "Removed VMs" %} {{ tombstones|length }}
{% for tombstone in tombstones %}
{{ tombstone.name }} {% if tombstone.is_template %}{% trans "Template" %}{% endif %} {% if tombstone.protected %}{% trans "Protected" %}{% endif %} {% include 'common/tag_badges.html' with tags=tombstone.tags %}
{{ tombstone.uuid }}
{% trans "Left" %} {{ tombstone.host }} · {% trans "Owners" %}: {{ tombstone.owner_names|join:", "|default:"–" }}
{% if tombstone.policy_names or tombstone.backup_count %}
{% if tombstone.policy_names %}{% trans "Schedules" %}: {{ tombstone.policy_names|join:", " }}{% endif %} {% if tombstone.backup_count %}{% if tombstone.policy_names %} · {% endif %}{% blocktrans count counter=tombstone.backup_count %}{{ counter }} backup{% plural %}{{ counter }} backups{% endblocktrans %}{% endif %}
{% endif %}
{% trans "Removed" %} {{ tombstone.removed|date:"Y-m-d H:i" }} · {% trans "expires" %} {{ tombstone.expires|date:"Y-m-d H:i" }}
{% endfor %}
{% endif %} {% endblock content %} {% block script %} {% if tombstones %}{% endif %} {% endblock script %}