summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/status.tpl5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/status.tpl b/templates/status.tpl
index a091d42..6083c14 100644
--- a/templates/status.tpl
+++ b/templates/status.tpl
@@ -121,13 +121,14 @@
% end
<td>{{spec['interval_nice']}}</td>
<td>{{spec['due_nice']}}</td>
-% if publish_failures and spec['last_run_exit'] is not "0":
+% if publish_failures and spec['last_run_exit'] is not '0':
<td><details>
<summary>{{spec['last_run_exit']}}: Show log</summary>
<p>{{spec['last_run_error']}}</p>
</details></td>
% else:
-<td>{{spec['last_run_exit']}}</td>
+
+<td>{{publish_failures}} {{spec['last_run_exit']}}</td>
% end
% if spec['running_job'] and links:
<td><a href="/1.0/job-html/{{spec['running_job']}}">{{spec['running_job']}}</a></td>