{% extends load_base %} {% load i18n %} {% load gui_utils %} {% block javascript %} {% endblock %} {% block base_nav %}{% include "gui/vm/navigation.html" with li_backup="active" %}{% endblock %} {% block base_content %}{% with json=vm.json %} {% if can_edit %} {% url 'vm_backup_form' vm.hostname as update_mod_source %} {% include "gui/vm/backup_update_modal.html" with mod_source=update_mod_source mod_form="gui/vm/backup_form_update.html" %} {% include "gui/vm/backup_delete_modal.html" %} {% include "gui/vm/backup_restore_modal.html" %} {% endif %}
{% if can_edit or bkpdefs %}
{% if json %}
{{ vm.alias }} › {% trans "backup definitions" %}
{% include "gui/vm/backup_define_list.html" %}
{% endif %}
{% endif %}
{% if json %}
{{ vm.alias }} › {% trans "backups" %}
{% include "gui/vm/backup_list.html" %}
{% endif %}
{% endwith %}{% endblock %}