{% extends "freeadmin/generic_model_datagrid.html" %} {% block actions_static_pane %} {% if pool %}
{% trans "Status" %}: {{ pool.resilver.status_verbose }}
{% if pool.resilver.status == "IN_PROGRESS" %}{% if pool.resilver.progress %}{% trans "Progress" %}: {{ pool.resilver.progress }}% {% endif %} {% if pool.resilver.scanned %}{% trans "Scan" %}: {% blocktrans with scanned=pool.resilver.scanned total=pool.resilver.total %}{{ scanned }} out of {{ total }}{% endblocktrans %} {% endif %}
{% endif %} {% if pool.resilver.status == "COMPLETED" %}{% if pool.resilver.errors %}{% trans "Errors" %}: {{ pool.resilver.errors }} {% endif %} {% if pool.resilver.date %}{% trans "Date" %}: {{ pool.resilver.date }} {% endif %}
{% endif %} {% else %} {% trans "Scrub" %}{% trans "Status" %}: {{ pool.scrub.status_verbose }}
{% if pool.scrub.status == "COMPLETED" %}{% if pool.scrub.errors %}{% trans "Errors" %}: {{ pool.scrub.errors }} {% endif %} {% if pool.scrub.repaired %}{% trans "Repaired" %}: {{ pool.scrub.repaired }} {% endif %} {% if pool.scrub.date %}{% trans "Date" %}: {{ pool.scrub.date }} {% endif %}
{% endif %} {% endif %}