diff options
author | Pedro Alvarez Piedehierro <palvarez89@gmail.com> | 2017-07-08 15:02:06 +0100 |
---|---|---|
committer | Pedro Alvarez Piedehierro <palvarez89@gmail.com> | 2017-07-08 15:02:06 +0100 |
commit | 2606db328f965cc024db5382cfdfc12f6e2abf6a (patch) | |
tree | b0a75d6b168ab2fdb632d2483d3f2f647a48a61f | |
parent | d72d2ce53da21b2c8e99aed4d85c566f66e34180 (diff) | |
download | lorry-controller-2606db328f965cc024db5382cfdfc12f6e2abf6a.tar.gz |
debug
-rw-r--r-- | templates/status.tpl | 5 |
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> |