about summary refs log tree commit diff
path: root/uploader/templates/background-jobs/job-summary.html
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/templates/background-jobs/job-summary.html')
-rw-r--r--uploader/templates/background-jobs/job-summary.html14
1 files changed, 8 insertions, 6 deletions
diff --git a/uploader/templates/background-jobs/job-summary.html b/uploader/templates/background-jobs/job-summary.html
index fe62d5d..c2c2d6b 100644
--- a/uploader/templates/background-jobs/job-summary.html
+++ b/uploader/templates/background-jobs/job-summary.html
@@ -25,18 +25,13 @@
 </div>
 
 <div class="row">
+  {%if view_under_construction%}
   <div class="col">
     <a href="#"
        class="btn btn-info not-implemented"
        title="Update the expiry date and time for this job.">update expiry</a>
   </div>
 
-  <div class="col">
-    <a href="{{url_for('background-jobs.delete_single', job_id=job.job_id)}}"
-       class="btn btn-danger"
-       title="Delete this job.">delete</a>
-  </div>
-
   {%if job.metadata.status in ("stopped",)%}
   <div class="col">
     <a href="#"
@@ -44,6 +39,13 @@
        title="Create a new copy of this job, and run the copy.">Run Copy</a>
   </div>
   {%endif%}
+  {%endif%}
+
+  <div class="col">
+    <a href="{{url_for('background-jobs.delete_single', job_id=job.job_id)}}"
+       class="btn btn-danger"
+       title="Delete this job.">delete</a>
+  </div>
 </div>
 
 <div class="row">