Allow users to abort pending updates, one by one or all at once

This commit is contained in:
Clément Renault 2020-11-29 12:23:52 +01:00 committed by Kerollmops
parent e4c2abb1d9
commit 58a1f9081c
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
4 changed files with 175 additions and 22 deletions

View file

@ -72,6 +72,15 @@
</li>
</ol>
</li>
{% when UpdateStatus::Aborted with { update_id, meta } %}
<li id="update-{{ update_id }}" class="document">
<ol>
<li class="field">
<div class="attribute">update id</div><div class="updateId content">{{ update_id }}</div>
<div class="attribute">update status</div><div class="updateStatus content">aborted</div>
</li>
</ol>
</li>
{% else %}
{% endmatch %}
{% endfor %}