Commit 0519e434 authored by Daniele Venzano's avatar Daniele Venzano
Browse files

Show scheduled applications in the running table on home page

parent c1797d28
......@@ -28,8 +28,11 @@ def home():
past_executions = []
for r in reports:
for e in r.report['executions']:
if e['status'] == "running": # or e['status'] == "scheduled" or e['status'] == "submitted":
active_executions.append((r.report, e, client.execution_get_proxy_path(e['id'])))
if e['status'] == "running" or e['status'] == "scheduled" or e['status'] == "submitted":
if e['status'] == "running":
active_executions.append((r.report, e, client.execution_get_proxy_path(e['id'])))
else:
active_executions.append((r.report, e))
else:
past_executions.append((r.report, e))
template_vars['active_executions'] = active_executions
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment