{% extends "freeadmin/generic_form.html" %} {% block form %}

{% if scrub.status == 'IN_PROGRESS' %} {{ volume.vol_name }}: {% trans "Scrub is currently running! Are you sure you want to STOP the scrub process?" %} {% else %} {% if scrub.status == 'PAUSED' %} {{ volume.vol_name }}: {% trans "Scrub is currently paused. Are you sure want to resume it?" %} {% else %} {{ volume.vol_name }}: {% trans "Are you sure you want to scrub?" %} {% endif %}
{% trans "This will increase system overhead while in progress" %} {% endif %}

{% endblock %} {% block buttons %} {% if scrub.status == 'IN_PROGRESS' %} {% else %} {% if scrub.status == 'PAUSED' %} {% else %} {% endif %} {% endif %} {% if not inline %} {% endif %} {% endblock %}