diff options
author | Pedro Alvarez Piedehierro <palvarez89@gmail.com> | 2017-07-08 14:45:56 +0100 |
---|---|---|
committer | Pedro Alvarez Piedehierro <palvarez89@gmail.com> | 2017-07-08 14:45:56 +0100 |
commit | f5b0b42ff3517fe2825b0646e9342e6b6688ff50 (patch) | |
tree | afcff6b8160ef1dc413b4ab65fa57accbe834f61 | |
parent | 9ff276640c955ac67ca801cb514e5ad777452622 (diff) | |
download | lorry-controller-f5b0b42ff3517fe2825b0646e9342e6b6688ff50.tar.gz |
Revert "fixup?"pedro/publish-failures-debug
This reverts commit 4e1d77905b6778cb42bcf11e2e5f233ce102888c.
-rw-r--r-- | templates/status.tpl | 4 |
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 |