diff --git a/client/src/components/admin/JobsList.vue b/client/src/components/admin/JobsList.vue
index b69fb2ddacc..b96f11faaa7 100644
--- a/client/src/components/admin/JobsList.vue
+++ b/client/src/components/admin/JobsList.vue
@@ -8,18 +8,21 @@
Job Overview
- Below unfinished jobs are displayed (in the 'new', 'queued', 'running', or 'upload' states) and recently
- completed jobs (in 'error' or 'ok' states).
+ Unfinished jobs (in the 'new', 'queued', 'running', or 'waiting' states) and finished jobs (in 'error' or
+ 'ok' states) are displayed below.
- You may choose to stop some of the displayed jobs and provide the user with a message. Your stop message
- will be displayed to the user as: "This job was stopped by an administrator:
+ You may choose to stop some of the unfinished jobs and provide the user with a message. Your stop message
+ will be displayed to the user as:
+
+
+ "This job was stopped by an administrator:
<YOUR MESSAGE>
For more information or help, report this error".
-
+
{{ showAllRunning ? "Showing all unfinished jobs" : "Time cutoff applied to query" }}
@@ -35,7 +38,7 @@
-
+
@@ -183,7 +186,12 @@ export default {
return `These jobs have completed in the previous ${this.cutoffMin} minutes.`;
},
runningTableCaption() {
- return `These jobs are unfinished and have had their state updated in the previous ${this.cutoffMin} minutes. For currently running jobs, the "Last Update" column should indicate the runtime so far.`;
+ let message = `These jobs are unfinished`;
+ if (!this.showAllRunning) {
+ message += ` and have had their state updated in the previous ${this.cutoffMin} minutes`;
+ }
+ message += `. For currently running jobs, the "Last Update" column should indicate the runtime so far.`;
+ return message;
},
finishedNoJobsMessage() {
return `There are no recently finished jobs to show with current cutoff time of ${this.cutoffMin} minutes.`;
@@ -238,7 +246,7 @@ export default {
this.busy = true;
const params = { view: "admin_job_list" };
if (this.showAllRunning) {
- params.state = "running";
+ params.state = NON_TERMINAL_STATES;
} else {
const cutoff = Math.floor(this.cutoffMin);
const dateRangeMin = new Date(Date.now() - cutoff * 60 * 1000).toISOString();