X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/cf7e30873ef4b92cc8ec099b2bb344391a070e93..b3cc51580f7d4bfa0c390e29950b2d605bfcda79:/apps/workbench/app/views/application/_pipeline_status_label.html.erb diff --git a/apps/workbench/app/views/application/_pipeline_status_label.html.erb b/apps/workbench/app/views/application/_pipeline_status_label.html.erb index 020ce81c57..f68d547aa5 100644 --- a/apps/workbench/app/views/application/_pipeline_status_label.html.erb +++ b/apps/workbench/app/views/application/_pipeline_status_label.html.erb @@ -1,8 +1,8 @@ -<% if p.success %> +<% if p.state == 'Complete' %> finished -<% elsif p.success == false %> +<% elsif p.state == 'Failed' %> failed -<% elsif p.active %> +<% elsif p.state == 'RunningOnServer' || p.state == 'RunningOnClient' %> running <% else %> <% if (p.components.select do |k,v| v[:job] end).length == 0 %>