|
|
@ -68,7 +68,7 @@ |
|
|
|
</div> |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
{% if workflow_metadata(task, 'locking', task.status) %} |
|
|
|
{% if task.status == 'doing' %} |
|
|
|
<div class="row"> |
|
|
|
<div class="col mb-3"> |
|
|
|
<table class="table table-bordered table-sm"> |
|
|
@ -94,6 +94,41 @@ |
|
|
|
</div> |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
{% if task.status == 'done' and task.changesetsResult is not empty %} |
|
|
|
<div class="row"> |
|
|
|
<div class="col mb-3"> |
|
|
|
<div class="accordion" id="changsetsAccordion"> |
|
|
|
{% set changesets = task.changesetsResult|json_decode %} |
|
|
|
{% for changeset in changesets %} |
|
|
|
{% set collapseId = 'collapse' ~ loop.index %} |
|
|
|
<div class="accordion-item"> |
|
|
|
<h2 class="accordion-header"> |
|
|
|
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="{{ '#' ~ collapseId }}" aria-expanded="false" aria-controls="{{ collapseId }}"> |
|
|
|
{{ 'Groupe de modifications ' ~ changeset.id }} |
|
|
|
</button> |
|
|
|
</h2> |
|
|
|
<div id="{{ collapseId }}" class="accordion-collapse collapse" data-bs-parent="#changesetsAccordion"> |
|
|
|
<div class="accordion-body"> |
|
|
|
<p> Voir sur <a href="{{ 'https://www.openstreetmap.org/changeset/' ~ changeset.id }}" target="_blank">OSM</a> ou <a href="{{ 'https://osmcha.org/changesets/' ~ changeset.id }}" target="_blank">OSMCha</a></p> |
|
|
|
<table class="table table-bordered table-sm"> |
|
|
|
<tbody> |
|
|
|
{% for key, value in changeset %} |
|
|
|
<tr> |
|
|
|
<th scope="row">{{ key }}</th> |
|
|
|
<td>{{ value }}</td> |
|
|
|
</tr> |
|
|
|
{% endfor %} |
|
|
|
</tbody> |
|
|
|
</table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{% endfor %} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
<h2 class="mb-3">Carte</h2> |
|
|
|
<div class="row"> |
|
|
|
<div class="col mb-3"> |
|
|
|