summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez Piedehierro <palvarez89@gmail.com>2017-07-08 14:45:56 +0100
committerPedro Alvarez Piedehierro <palvarez89@gmail.com>2017-07-08 14:45:56 +0100
commitf5b0b42ff3517fe2825b0646e9342e6b6688ff50 (patch)
treeafcff6b8160ef1dc413b4ab65fa57accbe834f61
parent9ff276640c955ac67ca801cb514e5ad777452622 (diff)
downloadlorry-controller-pedro/publish-failures-debug.tar.gz
This reverts commit 4e1d77905b6778cb42bcf11e2e5f233ce102888c.
-rw-r--r--templates/status.tpl4
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/status.tpl b/templates/status.tpl
index 534caa4..4f4b34b 100644
--- a/templates/status.tpl
+++ b/templates/status.tpl
@@ -121,13 +121,11 @@
% end
<td>{{spec['interval_nice']}}</td>
<td>{{spec['due_nice']}}</td>
-% if publish_failures:
- if 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']}}: {{publish_failrues}} Show log</summary>
<p>{{spec['last_run_error']}}</p>
</details></td>
-% end
% else:
<td>{{spec['last_run_exit']}}</td>
% end