1
0
Fork 0

adds button to stop job

This commit is contained in:
Mouse Reeve 2022-11-05 14:44:09 -07:00
parent 7a36de5ebe
commit 6792b3d7b8
4 changed files with 16 additions and 4 deletions

View file

@ -66,6 +66,13 @@
</div>
{% endif %}
{% if not job.complete %}
<form name="stop-import" action="{% url 'import-stop' job.id %}" method="POST">
{% csrf_token %}
<button class="button is-danger" type="submit">{% trans "Stop import" %}</button>
</form>
{% endif %}
{% if manual_review_count and not legacy %}
<div class="notification">
{% blocktrans trimmed count counter=manual_review_count with display_counter=manual_review_count|intcomma %}