diff --git a/src/scripts/dashboardpage.js b/src/scripts/dashboardpage.js index e16d540ce6..4eadacb89b 100644 --- a/src/scripts/dashboardpage.js +++ b/src/scripts/dashboardpage.js @@ -391,7 +391,7 @@ define(["datetime", "events", "itemHelper", "serverNotifications", "dom", "globa html += '"; - html += "" + progress + "%"; + html += "" + progress + "%"; html += ''; } else if (task.State === "Cancelling") { html += '' + globalize.translate("LabelStopping") + ""; diff --git a/src/scripts/scheduledtaskspage.js b/src/scripts/scheduledtaskspage.js index daccd3442a..50c2ef53a0 100644 --- a/src/scripts/scheduledtaskspage.js +++ b/src/scripts/scheduledtaskspage.js @@ -37,8 +37,16 @@ define(["jQuery", "loading", "events", "globalize", "serverNotifications", "huma if ("Idle" == task.State) task.LastExecutionResult && (html += globalize.translate("LabelScheduledTaskLastRan").replace("{0}", humane_date(task.LastExecutionResult.EndTimeUtc)).replace("{1}", humane_elapsed(task.LastExecutionResult.StartTimeUtc, task.LastExecutionResult.EndTimeUtc)), "Failed" == task.LastExecutionResult.Status ? html += " (" + globalize.translate("LabelFailed") + ")" : "Cancelled" == task.LastExecutionResult.Status ? html += " (" + globalize.translate("LabelCancelled") + ")" : "Aborted" == task.LastExecutionResult.Status && (html += " " + globalize.translate("LabelAbortedByServerShutdown") + "")); else if ("Running" == task.State) { var progress = (task.CurrentProgressPercentage || 0).toFixed(1); - html += '