show "Recreate" button on outdated and cancelled requests, too

dev-reedit-form
Hartmut Holzgraefe 2019-08-11 12:01:03 +00:00
rodzic 5bd27e8b6d
commit 88e50bcb73
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -79,7 +79,7 @@
</a>
{% endif %}
{% if map.is_done %}
{% if not map.needs_waiting %}
<form method="post" action="{% url "recreate" %}">
<input type="hidden" name="id" value="{{ map.id }}" />
<button class="btn btn-primary tooltipped" align="right"
@ -88,7 +88,9 @@
{% trans "Recreate" %} <i class="fa fa-repeat"></i>
</button>
</form>
{% endif %}
{% if map.is_done %}
{% if map.has_output_files %}
<div style="height: 2em"></div>
<div class="card card-default">