Commit 5306eba8 authored by Daniel Smith's avatar Daniel Smith

Fix result display issue

parent 8e0bc567
......@@ -88,9 +88,9 @@ function jobFormatter(job, hosts, callback) {
}
if (job.test_name)
view.testString = `Benchmark: ${job.test_name}`;
view.testString = `Benchmark: ${job.test_name}<br>`;
else if (job.custom_benchmark_file)
view.testString = `Custom benchmark: ${job.custom_benchmark_file.name}`;
view.testString = `Custom benchmark: ${job.custom_benchmark_file.name}<br>`;
if (job.startTime && job.status === "running") {
view.spinnerVisible = "visible";
......@@ -135,9 +135,6 @@ function jobFormatter(job, hosts, callback) {
job.status == "cancelling" ? "disabled" : ""}>Cancel</button>`;
}
if (view.timeEstimate)
view.timeEstimate = `<br>${view.timeEstimate}`
console.log(job, view);
// Return a formatted HTML string of the job to insert into the page.
fetch(`http://${domain}:${webPort}/templates/job.mustache`)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment