From 42897a516027b1182a7d14b152bf388d94c20d98 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Piedehierro Date: Fri, 7 Jul 2017 01:06:11 +0100 Subject: templates/status: Add column to show failures --- templates/status.tpl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/templates/status.tpl b/templates/status.tpl index 2665861..a091d42 100644 --- a/templates/status.tpl +++ b/templates/status.tpl @@ -105,6 +105,8 @@ Interval Due Job? +Last run exit + % for i, spec in enumerate(run_queue): % obj = json.loads(spec['text']) @@ -119,6 +121,14 @@ % end {{spec['interval_nice']}} {{spec['due_nice']}} +% if publish_failures and spec['last_run_exit'] is not "0": +
+ {{spec['last_run_exit']}}: Show log +

{{spec['last_run_error']}}

+
+% else: +{{spec['last_run_exit']}} +% end % if spec['running_job'] and links: {{spec['running_job']}} % else: -- cgit v1.2.1