{% extends "freeadmin/generic_form.html" %} {% block onSubmit %} doSubmit({ form: this, event: e, url: '{% url "storage_detach" vid=volume.id %}', progressbar: true, confirm: conf }); {%endblock %} {% block form %} {% if standby_offline %}

{% trans "You cannot detach volume while standby node is down!" %}

{% else %} {% if used %} {% blocktrans with used=used %}You have {{ used }} of used space within this volume{% endblocktrans %} {% endif %} {% if attachments %} WARNING: The following services depend on {{ volume.vol_name }} and will be disrupted when the volume is detached: {% endif %} {% if volume.vol_encrypt > 0 %} {% url "storage_volume_key_download" object_id=volume.id as downloadkey %}

{% blocktrans with url=downloadkey %}This is an encrypted volume, make sure to download the key so you can be able to import it in the future{% endblocktrans %}

{% endif %} {{ block.super }} {{ volume.vol_name}}: {% trans "Are you sure you want to detach?" %} {% endif %} {% endblock %} {% block oklabel %}{% trans "Yes" %}{% endblock %} {% block buttons %} {% if standby_offline %} {% else %} {{ block.super }} {% endif %} {% endblock %}