0001-manager-show-failure-only-in-the-running-sate-34235.patch
src/authentic2/manager/templates/authentic2/manager/user_import.html | ||
---|---|---|
57 | 57 |
{% for report in reports %} |
58 | 58 |
<tr data-uuid="{{ report.uuid }}"> |
59 | 59 |
<td class="created">{% if report.state != 'running' %}<a href="{% url "a2-manager-users-import-report" import_uuid=user_import.uuid report_uuid=report.uuid %}">{{ report.created }}</a>{% else %}{{ report.created }}{% endif %}</td> |
60 |
<td class="state"><span>{{ report.state }}</span> {% if report.state == 'error' %}"{{ report.exception }}"{% endif %} {% if not report.is_running %}!failed before finishing!{% endif %}</td>
|
|
60 |
<td class="state"><span>{% if report.state == 'running' and not report.is_running %}{% trans "Error, process has been stopped" %}{% else %}{{ report.state }}{% endif %}</td>
|
|
61 | 61 |
<td class="applied">{% if not report.simulate %}<span class="icon-check"></span>{% endif %}</td> |
62 | 62 |
<td class="delete-action">{% if report.simulate %}<form method="post" id="delete-form-{{ report.uuid }}">{% csrf_token %}<button name="delete" value="{{ report.uuid }}">{% trans "Delete" %}</button></form>{% endif %}</td> |
63 | 63 |
</tr> |
64 |
- |