X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c8060b94c485d5bf0e500d2321793cd56db4c856..aea4b0cd7553dfb27c3e6c448fcad349284d6cf4:/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 %>