{% if exc -%}
Failure

An unknown exception occured when attempting to repair submissions.

{{ exc }}

{% elif failed -%}
Warning

Unable to repair all submissions.

The following submissions failed:
{% else -%}
Success

Repaired grades of all submissions.

{% endif %}