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