From 551dfc453e4afa0c7ddb197d5bcc3eead94d4a3c Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Mon, 26 Jan 2015 16:25:19 -0500 Subject: [PATCH] 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. --- templates/admin/jobs.mako | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/templates/admin/jobs.mako b/templates/admin/jobs.mako index e7dfe13f075..212bb6bb7c6 100644 --- a/templates/admin/jobs.mako +++ b/templates/admin/jobs.mako @@ -55,11 +55,7 @@ %for job in jobs: - %if job.state == 'upload': -   - %else: - - %endif + ${job.id} %if job.history and job.history.user: