Allow cancelling of upload jobs. This won't cancel the actual upload, but it'll kill (or prevent) the processing job if it exists. This also allows one to clean up 'zombie' upload jobs that never leave 'upload' state via the admin panel.

This commit is contained in:
Dannon Baker
2015-01-26 16:25:19 -05:00
parent 05e9ea637e
commit 551dfc453e
+1 -5
View File
@@ -55,11 +55,7 @@
</tr>
%for job in jobs:
<td>
%if job.state == 'upload':
&nbsp;
%else:
<input type="checkbox" name="stop" value="${job.id}"/>
%endif
<input type="checkbox" name="stop" value="${job.id}"/>
</td>
<td>${job.id}</td>
%if job.history and job.history.user: