diff --git a/automaton/dashboard/html/dashboard.js b/automaton/dashboard/html/dashboard.js
index 6b6b3ea..1e2842b 100644
--- a/automaton/dashboard/html/dashboard.js
+++ b/automaton/dashboard/html/dashboard.js
@@ -216,6 +216,7 @@ function renderDetail(task) {
const stIcon = stStatus === 'pass' ? '✓' : stStatus === 'fail' ? '✗' : '○';
return `
${stIcon}${st.name}`;
}).join('')}` : ''}
+ ${task.spec_content ? `Specification
${escapeHtml(task.spec_content)} ` : ''}
${task.verdict_content ? `Verdict
${escapeHtml(task.verdict_content)} ` : ''}
${task.bug_report_content ? `Bug Report
${escapeHtml(task.bug_report_content)} ` : ''}`;
}
diff --git a/automaton/dashboard/ui/app.py b/automaton/dashboard/ui/app.py
index 4875dc3..de44eb0 100644
--- a/automaton/dashboard/ui/app.py
+++ b/automaton/dashboard/ui/app.py
@@ -124,6 +124,7 @@ class DashboardHandler(SimpleHTTPRequestHandler):
],
"verdict_content": t.verdict_content,
"bug_report_content": t.bug_report_content,
+ "spec_content": t.spec_content,
"review": self._get_review_status(t.name),
}
for t in tasks
@@ -183,6 +184,7 @@ class DashboardHandler(SimpleHTTPRequestHandler):
],
"verdict_content": task.verdict_content,
"bug_report_content": task.bug_report_content,
+ "spec_content": task.spec_content,
"review": self._get_review_status(task.name),
}
self._send_json(task_data)