3381: Merge job_status_label and job_progress into a single job_progress
[arvados.git] / apps / workbench / app / views / application / _job_status_label.html.erb
diff --git a/apps/workbench/app/views/application/_job_status_label.html.erb b/apps/workbench/app/views/application/_job_status_label.html.erb
deleted file mode 100644 (file)
index 17073fe..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<% to_label = {
-     "Cancelled" => "danger",
-     "Complete" => "success",
-     "Running" => "info",
-     "Failed" => "danger",
-     "Queued" => "default",
-     nil => "default"
-   } %>
-
-  <span class="label label-<%= to_label[j[:state]] %>"><%= if defined? title then title else j[:state].downcase end %></span>