diff options
author | Pedro Alvarez Piedehierro <palvarez89@gmail.com> | 2017-07-08 14:45:15 +0100 |
---|---|---|
committer | Pedro Alvarez Piedehierro <palvarez89@gmail.com> | 2017-07-08 14:45:15 +0100 |
commit | 6ace165567ca655b9079ea25b3f3424f7116a94a (patch) | |
tree | 0ef579d75cc2201bab5d0606305e25550538b056 | |
parent | 34f8028a089a32e2e6e45e854461971ed58fa14a (diff) | |
download | lorry-controller-6ace165567ca655b9079ea25b3f3424f7116a94a.tar.gz |
Revert "debug"
This reverts commit d804d38c920a6176afb0e26557d54b7b83ee4d66.
-rw-r--r-- | templates/status.tpl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/status.tpl b/templates/status.tpl index 774d6ed..75bcb7d 100644 --- a/templates/status.tpl +++ b/templates/status.tpl @@ -121,10 +121,15 @@ % end <td>{{spec['interval_nice']}}</td> <td>{{spec['due_nice']}}</td> +% if publish_failures: + if 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> +% else: +<td>{{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> % else: |