summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runner/result_templates/html.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/runner/result_templates/html.tmpl b/runner/result_templates/html.tmpl
index 14696c2..8a09ad7 100644
--- a/runner/result_templates/html.tmpl
+++ b/runner/result_templates/html.tmpl
@@ -25,7 +25,9 @@
: }
<td><: $result.dirname :></td>
: for $task_ids.keys() -> $task_id {
- : if $result.tasks[$task_id].exit_status == 0 {
+ : if (not defined($result.tasks[$task_id].exit_status)) {
+ <td>NOT AVAILABLE</td>
+ : } elsif ($result.tasks[$task_id].exit_status == 0) {
<td>OK</td>
: } else {
<td class="danger">FAIL</td>