diff options
-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: |