X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/43773cb247a1fb744b57070b715bfa5d53a00822..e2a7fe50d3b6e98b7f549c78c4f91dbe4066ddbb:/services/api/app/views/pipeline_instances/index.html.erb diff --git a/services/api/app/views/pipeline_instances/index.html.erb b/services/api/app/views/pipeline_instances/index.html.erb index e8cb553daf..cfadd26cdd 100644 --- a/services/api/app/views/pipeline_instances/index.html.erb +++ b/services/api/app/views/pipeline_instances/index.html.erb @@ -19,13 +19,13 @@ <% @objects.each do |o| %> - <% status = o.success ? 'success' : (o.success == false ? 'failure' : 'pending') %> + <% status = (o.state == 'Complete') ? 'success' : ((o.state == 'Failed') ? 'failure' : 'pending') %> <%= status %> - <%= o.active ? 'yes' : '-' %> + <%= (o.state == 'RunningOnServer') ? 'yes' : '-' %> <%= (o.progress_ratio * 1000).floor / 10 %>