kopia lustrzana https://github.com/hholzgra/maposmatic/
show "Recreate" button on outdated and cancelled requests, too
rodzic
5bd27e8b6d
commit
88e50bcb73
|
@ -79,7 +79,7 @@
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if map.is_done %}
|
{% if not map.needs_waiting %}
|
||||||
<form method="post" action="{% url "recreate" %}">
|
<form method="post" action="{% url "recreate" %}">
|
||||||
<input type="hidden" name="id" value="{{ map.id }}" />
|
<input type="hidden" name="id" value="{{ map.id }}" />
|
||||||
<button class="btn btn-primary tooltipped" align="right"
|
<button class="btn btn-primary tooltipped" align="right"
|
||||||
|
@ -88,7 +88,9 @@
|
||||||
{% trans "Recreate" %} <i class="fa fa-repeat"></i>
|
{% trans "Recreate" %} <i class="fa fa-repeat"></i>
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if map.is_done %}
|
||||||
{% if map.has_output_files %}
|
{% if map.has_output_files %}
|
||||||
<div style="height: 2em"></div>
|
<div style="height: 2em"></div>
|
||||||
<div class="card card-default">
|
<div class="card card-default">
|
||||||
|
|
Ładowanie…
Reference in New Issue